Skip to content

Serialize tests that share result files#498

Open
krystophny wants to merge 1 commit into
agent/hermetic-netcdf-link-cleanfrom
agent/isolate-result-file-tests-clean
Open

Serialize tests that share result files#498
krystophny wants to merge 1 commit into
agent/hermetic-netcdf-link-cleanfrom
agent/isolate-result-file-tests-clean

Conversation

@krystophny

Copy link
Copy Markdown
Member

Summary

  • give the restart-I/O and result-accounting tests the same CTest resource lock
  • prevent their shared times_lost.dat and related files from racing under parallel fo

This is a test-infrastructure-only PR stacked on #497. It does not change the runtime binary.

Validation

  • reproduced the race as simultaneous failures of both tests
  • each failed test passed immediately when rerun alone
  • generated CTest metadata contains the shared resource lock
  • complete fo pipeline passed: static analysis, build, tests, and lint (460.9 s)

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.

1 participant