- 
                Notifications
    You must be signed in to change notification settings 
- Fork 31
fix(integration): fix api validation test #1201
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
Conversation
cee95dd    to
    d6f7fb3      
    Compare
  
    | Ugh, I think the reason @2-towns did this was to make the API tests faster. Do we want to revert it? Or maybe we add proper cleanup? Guess this is a bit of a philosophical discussion too: stopping/starting the node on every test will give you perfect isolation but make things significantly slower. OTOH not doing that may provide you some nice wtf moments as the one you just went through @markspanbroek. | 
| There's a lot of integration tests improvements lingering in the parallel integration tests branch, particularly regarding tearing down tests | 
| 
 Starting and stopping the node on every test is actually quite fast. Especially in comparison to other stuff we do in the integration tests. This change adds a few seconds to the entire suite, at worst. | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks !
On Windows the codex node did not shut down properly after this test finished.
0ed671b    to
    b3994bc      
    Compare
  
    * integration: shutdown codex node at end of test On Windows the codex node did not shut down properly after this test finished. * contracts: fix flaky test
Fixes an intermittent problem with other tests because the api validation test kept a codex node alive after it finishes.
Also includes a fix for an unrelated flaky market test, to make the CI pass.