This repository has been archived by the owner on Jun 13, 2021. It is now read-only.
Remove poll-breaking assertion in e2e tests #784
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
- What I did
Fixes #786
Removed assertion of local-in-docker command result when running e2e tests in swarm. This function is only used by the compatibility tests which does it's own assertion in a poll (
app/e2e/compatibility_test.go
Line 138 in 1cfb232
- How I did it
Removed
result.Assert
in therunLocalCmd
which is used in theTestBackwardsCompatibilityV1
to check if the app's port has been updated. Note thatTestBackwardsCompatibilityV1
is the only place that therunLocalCmd
is used either throughrunner.localCmd
orrunner.execCmd
.- How to verify it
Run the
TestBackwardsCompatibilityV1
e2e test:make E2E_TESTS=TestBackwardsCompatibilityV1 -f docker.Makefile test-e2e
The CI will check if all e2e tests pass
- A picture of a cute animal (not mandatory)