This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add test suite and minor refinements to the utility subsystem #1403
Merged
Commits on Jul 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c72e59c - Browse repository at this point
Copy the full SHA c72e59cView commit details -
wip: add test suite / example / explanation for using utility subsystem
Unfortunately, the test fails right now for reasons which seem very odd. Just have to keep poking at it.
Configuration menu - View commit details
-
Copy full SHA for 00bbe47 - Browse repository at this point
Copy the full SHA 00bbe47View commit details
Commits on Jul 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 837a62a - Browse repository at this point
Copy the full SHA 837a62aView commit details -
The root problem here was two-fold: - there was a circular dependency from subsystem -> test-helpers/subsystem -> subsystem - cfg(test) doesn't propagate between crates The solution: move the subsystem test helpers into a sub-module within subsystem. Publicly export them from the previous location so no other code breaks. Doing this has an additional benefit: it ensures that no production code can ever accidentally use the subsystem helpers, as they are compile- gated on cfg(test).
Configuration menu - View commit details
-
Copy full SHA for 5601550 - Browse repository at this point
Copy the full SHA 5601550View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ff4f66 - Browse repository at this point
Copy the full SHA 3ff4f66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 356c26f - Browse repository at this point
Copy the full SHA 356c26fView commit details
Commits on Jul 17, 2020
-
get rid of log tests in favor of real error forwarding
It's not obvious whether we'll ever really want to chase down these errors outside a testing context, but having the capability won't hurt.
Configuration menu - View commit details
-
Copy full SHA for f0c23de - Browse repository at this point
Copy the full SHA f0c23deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68a745d - Browse repository at this point
Copy the full SHA 68a745dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 66e7d50 - Browse repository at this point
Copy the full SHA 66e7d50View commit details -
only require that job errors are PartialEq when testing
also fix polkadot-node-core-backing tests
Configuration menu - View commit details
-
Copy full SHA for a9b49af - Browse repository at this point
Copy the full SHA a9b49afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 812b35a - Browse repository at this point
Copy the full SHA 812b35aView commit details
Commits on Jul 20, 2020
-
Combine tests of starting and stopping job: leaving a test executor with a job running was pretty clearly the cause of the sometimes-hang. Also, add a timeout so tests _can't_ hang anymore; they just fail after a while.
Configuration menu - View commit details
-
Copy full SHA for 7e758b5 - Browse repository at this point
Copy the full SHA 7e758b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6672e2a - Browse repository at this point
Copy the full SHA 6672e2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b056bf - Browse repository at this point
Copy the full SHA 6b056bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3aa719 - Browse repository at this point
Copy the full SHA f3aa719View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcd0a6d - Browse repository at this point
Copy the full SHA bcd0a6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b464b0 - Browse repository at this point
Copy the full SHA 5b464b0View commit details
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.