Skip to content

Conversation

@mwichmann
Copy link
Collaborator

An earlier change relating to testing delays for timestamp consistency exposed that some tests used time.sleep while others used the harness's test.sleep. This change adjusts the ones that are done for file timestamp delay management to consistently all use test.sleep - with an annotation, so it's easier to spot. There are still tests that use time.sleep with other intervals that were left alone.

Affected tests were reformatted, in the spirit of gradually improving tests that you otherwise touch...

This is a test-only change.

Signed-off-by: Mats Wichmann [email protected]

Contributor Checklist:

  • I have created a new test or updated the unit tests to cover the new/changed functionality.
  • I have updated CHANGES.txt (and read the README.rst)
  • I have updated the appropriate documentation

Some tests used time.sleep while others used the harness's test.sleep,
the ones that are done for file timestamp delay management now all use
test.sleep - with a consistent comment, so it's easier to spot.
There are still tests that use time.sleep with smaller intervals that
were left alone.

Affected tests were reformatted, in the spirit of gradually improving
tests that you otherwise touch...

Signed-off-by: Mats Wichmann <[email protected]>
@mwichmann mwichmann added the testsuite Things that only affect the SCons testing. Do not use just because a PR has tests. label May 31, 2022
@bdbaddog bdbaddog merged commit 8780e46 into SCons:master May 31, 2022
@mwichmann mwichmann deleted the test/update-sleep-usage branch May 31, 2022 18:33
@mwichmann mwichmann added this to the 4.4 milestone May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testsuite Things that only affect the SCons testing. Do not use just because a PR has tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants