Skip to content
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

Integration tests - false positives when the output file is not modified #2031

Open
ramonacat opened this issue Oct 26, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@ramonacat
Copy link
Collaborator

Problem
When an integration test that produces an output file is ran, it might give a false positive, if the run does not change the file and previous run was succesful.

Steps

  1. Run an integration tests that outputs to a file
  2. Change the filename that the test outputs to (without changing assertions)
  3. Run the test again - it will pass, though it should fail

Possible Solution(s)
Remove the output files that are used in assertions before running tests?

Notes

Output of rustup --version:
Output of rustup show:
Output of tremor --version:

@ramonacat ramonacat added the bug Something isn't working label Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant