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

Fix test portmap port forward flakiness #423

Closed
wants to merge 1 commit into from

Conversation

aojea
Copy link
Contributor

@aojea aojea commented Dec 11, 2019

It seems that Gingko needs to have the It code inside a Describe or Contextcontainer to avoid issues.

In general, the only code within a container block should be an It block or a BeforeEach/JustBeforeEach/JustAfterEach/AfterEach block, or closure variable declarations. It is generally a mistake to make an assertion in a container block.

https://onsi.github.io/ginkgo/#organizing-specs-with-containers-describe-and-context

Fixes: #422

@aojea
Copy link
Contributor Author

aojea commented Dec 11, 2019

@squeed please take a look 3 of 3 runs without any failure now (one fail job is unrelated, travis and coveralls errors)

Use a Describe container for the It code block of the
portmap port forward integration test.

Signed-off-by: Antonio Ojea <[email protected]>
@aojea
Copy link
Contributor Author

aojea commented Dec 11, 2019

4/4 this is ready to merge

@aojea aojea changed the title Fix portmap port forward flakiness Fix test portmap port forward flakiness Dec 12, 2019
@aojea
Copy link
Contributor Author

aojea commented Dec 13, 2019

this commit is duplicated in #421 , let's close this and merge the other

@aojea aojea closed this Dec 13, 2019
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.

Portmap integration test forwards a TCP port on ipv4 is flaky
1 participant