Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Remoted IT: test_agent_communication #3087

Closed
juliamagan opened this issue Jul 11, 2022 · 0 comments · Fixed by #3088
Closed

Fix Remoted IT: test_agent_communication #3087

juliamagan opened this issue Jul 11, 2022 · 0 comments · Fixed by #3088
Assignees
Milestone

Comments

@juliamagan
Copy link
Member

Description

After the review made in #3060, we have seen that two tests of test_agent_communication were failing consistently:

  • test_shared_configuration.py
  • test_agent_version_shared_configuration_startup_message.py

After investigating the errors we have concluded that the error is here:

for _ in range(5):
# send some keep alive messages until manager push the new group configuration
sender.send_event(agent.keep_alive_event)
time.sleep(1)

Where 5 keep-alives are sent every second. However, the correct behavior to simulate would be to send keep-alives every 10 seconds, which is the default configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants