Skip to content

fix: backport TickSystemTests.VerifyTickSystem() test#658

Merged
0xFA11 merged 1 commit intodevelopfrom
fix/backport-ticktests
Mar 24, 2021
Merged

fix: backport TickSystemTests.VerifyTickSystem() test#658
0xFA11 merged 1 commit intodevelopfrom
fix/backport-ticktests

Conversation

@0xFA11
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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