Skip to content

Conversation

@mirelap-amazon
Copy link
Contributor

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mirelap-amazon mirelap-amazon changed the title Fix unit test test_profiler_runner that was failing sometimes. Fix unit test test_profiler_runner that was failing sometimes; updated README. Jan 8, 2021
wait_for(lambda: AgentConfiguration.get().reporting_interval.total_seconds() == 151)
# sometimes it takes a few milliseconds for the scheduler to be updated with the AgentConfiguration,
# so let's sleep for 100 ms
sleep(0.1)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we use wait_for instead here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, I'll update.

@mirelap-amazon mirelap-amazon requested a review from gimki January 8, 2021 17:12
@gimki gimki merged commit 9f42823 into aws:main Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants