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

tests: add explicit dump engine call to an integration test #4342

Merged
merged 1 commit into from
Mar 19, 2021

Conversation

milas
Copy link
Contributor

@milas milas commented Mar 18, 2021

Currently, the integration tests (try to) invoke an engine dump
on failure to give state for debugging purposes.

We had a regression recently (#4318), however, where the engine dump
command was completely non-functional due to a serialization
issue. This adds an explicit call to dump the engine in one of
the tests which will catch any total breakage like this. It's
not a comprehensive test of the actual output of the engine
dump (though the CLI command ensures it's valid JSON), but
that's okay because the API of it is not stable and we're
moving away from it towards a stable interface for this type
of introspection via apiserver.

@milas milas requested review from nicks, maiamcc and landism March 18, 2021 20:58
Currently, the integration tests (try to) invoke an engine dump
on failure to give state for debugging purposes.

We had a regression recently, however, where the engine dump
command was completely non-functional due to a serialization
issue. This adds an explicit call to dump the engine in one of
the tests which will catch any total breakage like this. It's
not a comprehensive test of the actual output of the engine
dump (though the CLI command ensures it's valid JSON), but
that's okay because the API of it is not stable and we're
moving away from it towards a stable interface for this type
of introspection via apiserver.
@milas milas force-pushed the milas/int-test-dump-engine branch from 2800f8c to b6903f1 Compare March 19, 2021 14:03
@milas milas merged commit 5fa6fbe into master Mar 19, 2021
@milas milas deleted the milas/int-test-dump-engine branch March 19, 2021 15:29
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.

None yet

2 participants