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

fixes #421, each test suite have their own skip table #423

Merged
merged 3 commits into from
Dec 6, 2019

Conversation

jangko
Copy link
Contributor

@jangko jangko commented Nov 20, 2019

less confusion about which test suite should skip what tests

@@ -171,7 +65,7 @@ proc lacksSupportedForks*(fixtures: JsonNode): bool =

var status = initOrderedTable[string, OrderedTable[string, Status]]()

macro jsonTest*(s: static[string], handler: untyped): untyped =
macro jsonTest*(s: static[string], handler: untyped, skipTest: untyped): untyped =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't give skipTest the default value of skipNothing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure we can. my memory must be corrupted when I am not using default value for skipTest.
fixed.

@zah
Copy link
Contributor

zah commented Nov 21, 2019

It's hard to tell whether the CI failure here is genuine or not. I'll close and re-open to give it another try.

@zah zah closed this Nov 21, 2019
@zah zah reopened this Nov 21, 2019
@jangko
Copy link
Contributor Author

jangko commented Nov 22, 2019

I could not reproduce the problem running archlinux in a virtualbox.

@stefantalpalaru
Copy link
Contributor

Could it be a lingering server blocking a port? https://travis-ci.org/status-im/nimbus/jobs/615173024#L7175

Maybe we don't wait for it to close properly before starting the next test suite.

@kdeme
Copy link
Contributor

kdeme commented Nov 22, 2019

hmm, strange that with that error those rpc tests actually manage to pass, no?

@jangko
Copy link
Contributor Author

jangko commented Nov 30, 2019

last time I saw both of travis CI failed, now it's only one of them. could it be another hiccup?
who can restart the failed CI?

@stefantalpalaru
Copy link
Contributor

Restarted.

@jangko jangko force-pushed the tester_skip_table branch 2 times, most recently from 5c22ab8 to bed169c Compare December 3, 2019 10:36
@zah zah closed this Dec 3, 2019
@zah zah reopened this Dec 3, 2019
@jangko
Copy link
Contributor Author

jangko commented Dec 6, 2019

finally tests are green.

@jangko jangko merged commit a70c9d5 into master Dec 6, 2019
@delete-merged-branch delete-merged-branch bot deleted the tester_skip_table branch December 6, 2019 14:37
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

4 participants