-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
v0.3.2, Windows 11
If a plugin fails state reproducibility tests, clap-validator can report the following:
<time> [ERROR] thread 'main' panicked at 'Tried to create a temporary file at 'C:\Users\<user>\AppData\Local\Temp\clap-validator\<plugin>\state-reproducibility-basic\state-expected', but this file already exists. This is a bug in clap-validator.': src\tests.rs:185
plus, state-reproducibility-null-cookies would be reported as CRASHED: exit code: 101.
It seems that state-reproducibility-null-cookies is trying to use the folder state-reproducibility-basic and fails if state-reproducibility-basic already failed during this run. Running only state-reproducibility-null-cookies with a plugin that fails the test confirms this:
- state-reproducibility-null-cookies: The exact same test as state-
reproducibility-basic, but with all cookies in the parameter events set
to null pointers. The plugin should handle this in the same way as the
other test case.
FAILED: Re-saving the loaded state resulted in a different
state file. Expected: 'C:\Users\<user>\AppData\Local\Temp\clap-
validator\<plugin>\state-reproducibility-basic\state-
expected'. Actual: 'C:\Users\<user>\AppData\Local\Temp\clap-
validator\<plugin>\state-reproducibility-basic\state-
actual'.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels