Skip to content

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

markspanbroek
Copy link
Member

@markspanbroek markspanbroek commented Apr 17, 2025

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.

On Windows the codex node did not shut down properly after this test
finished.
@markspanbroek markspanbroek force-pushed the fix-api-validation-test branch from cee95dd to d6f7fb3 Compare April 17, 2025 13:38
@gmega
Copy link
Member

gmega commented Apr 18, 2025

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.

@emizzle
Copy link
Contributor

emizzle commented Apr 18, 2025

There's a lot of integration tests improvements lingering in the parallel integration tests branch, particularly regarding tearing down tests

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.

3 participants