Skip to content

fix: backport TickSystemTests.VerifyTickSystem() test #658

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

Merged
merged 1 commit into from
Mar 24, 2021

Conversation

0xFA11
Copy link
Contributor

@0xFA11 0xFA11 commented Mar 23, 2021

backporting b2a54ec fix that went into master (release) back to develop too.

{
private NetworkTickSystem m_TickSystem = null;
private float m_TestDuration = 5.0f;
private float m_TestDuration = 3.0f;
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit, but I would probably make the test duration be expressed as some multiple of the tick interval (e.g. 100 * m_TickInterval), and by the same token make the sleep interval expressed as some fraction of the tick interval vs. having purely magic number constants

Copy link
Contributor Author

Choose a reason for hiding this comment

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

agreed — @jeffreyrainy for more visibility on your feedback :)

@0xFA11 0xFA11 disabled auto-merge March 24, 2021 05:58
@0xFA11 0xFA11 merged commit ab12ba4 into develop Mar 24, 2021
@0xFA11 0xFA11 deleted the fix/backport-ticktests branch March 24, 2021 06:54
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