-
Notifications
You must be signed in to change notification settings - Fork 86
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
Protocol testing: test what happens when nodes join the network much later #231
Comments
@nfrisby You can ignore the "genesis chain selection rule" for now. A possible approach is to replace the |
862: [#440] Implement "already validated" flag for block and tx application r=mrBliss a=intricate Closes #440 880: Use record type for output of protocol tests r=mrBliss a=nfrisby `broadcastNetwork` currently just returns a map. In tickets #231 etc and related debugging/investigations, I've wanted programmatic access to more information from the run. This PR is a general refinement that simplifies the types within each per-protocol family member's test code and makes it easier to add information to the general test framework. Co-authored-by: Luke Nadur <[email protected]> Co-authored-by: Nicolas Frisby <[email protected]>
916: fixup Real PBFT setup r=mrBliss a=nfrisby The `RealPBFT` setup was creating nodes with different `CoreNodeId`s than expected. This was causing property failures during my work-in-progress on Issue #231 PR #773. Is it safe to export `plcCoreNodeId`, even just for testing? I'm weary of adding exports to code I'm not familiar with. Co-authored-by: Nicolas Frisby <[email protected]>
916: fixup Real PBFT setup r=mrBliss a=nfrisby The `RealPBFT` setup was creating nodes with different `CoreNodeId`s than expected. This was causing property failures during my work-in-progress on Issue #231 PR #773. Is it safe to export `plcCoreNodeId`, even just for testing? I'm weary of adding exports to code I'm not familiar with. Co-authored-by: Nicolas Frisby <[email protected]>
914: Replace the ThreadRegistry with the ResourceRegistry r=mrBliss a=mrBliss Threads (and sub-`ThreadRegistry`s) are also resources, so we can use the `ResourceRegistry` to allocate/release them, instead of having two separate `-Registry`s. TODO: consensus tests are failing with: ``` Exception: ResourceRegistry used after closing CallStack (from HasCallStack): error, called at src/Ouroboros/Consensus/Util/ResourceRegistry.hs:104:31 in ouroboros-consensus-0.1.0.0-6HDMr0z0KdXIwfzJlxCxiL:Ouroboros.Consensus.Util.ResourceRegistry ``` 916: fixup Real PBFT setup r=mrBliss a=nfrisby The `RealPBFT` setup was creating nodes with different `CoreNodeId`s than expected. This was causing property failures during my work-in-progress on Issue #231 PR #773. Is it safe to export `plcCoreNodeId`, even just for testing? I'm weary of adding exports to code I'm not familiar with. 918: Eq and Ord instances for Async m a r=dcoutts a=coot Using 'QuantifiedConstraints' extension in 'MonadAsync'. Also provide instances for 'Async (SimM s) a'. Co-authored-by: Thomas Winant <[email protected]> Co-authored-by: Edsko de Vries <[email protected]> Co-authored-by: Nicolas Frisby <[email protected]> Co-authored-by: Marcin Szamotulski <[email protected]>
773: Have some nodes join later in test-consensus r=nfrisby a=nfrisby This PR is only for discussion. I have a first draft take on #231 and would like feedback, of all kinds. Edit: the PR has matured and looks nearly ready to merge, but I suspect I should open a separate PR because of the 100+ comments on this one. Edit: Fixes #231. Co-authored-by: Nicolas Frisby <[email protected]>
773: Have some nodes join later in test-consensus r=intricate a=nfrisby This PR is only for discussion. I have a first draft take on #231 and would like feedback, of all kinds. Edit: the PR has matured and looks nearly ready to merge, but I suspect I should open a separate PR because of the 100+ comments on this one. Edit: Fixes #231. Co-authored-by: Nicolas Frisby <[email protected]>
773: Have some nodes join later in test-consensus r=intricate a=nfrisby This PR is only for discussion. I have a first draft take on #231 and would like feedback, of all kinds. Edit: the PR has matured and looks nearly ready to merge, but I suspect I should open a separate PR because of the 100+ comments on this one. Edit: Fixes #231. Co-authored-by: Nicolas Frisby <[email protected]>
773: Have some nodes join later in test-consensus r=nc6 a=nfrisby This PR is only for discussion. I have a first draft take on #231 and would like feedback, of all kinds. Edit: the PR has matured and looks nearly ready to merge, but I suspect I should open a separate PR because of the 100+ comments on this one. Edit: Fixes #231. Co-authored-by: Nicolas Frisby <[email protected]>
914: Replace the ThreadRegistry with the ResourceRegistry r=mrBliss a=mrBliss Threads (and sub-`ThreadRegistry`s) are also resources, so we can use the `ResourceRegistry` to allocate/release them, instead of having two separate `-Registry`s. TODO: consensus tests are failing with: ``` Exception: ResourceRegistry used after closing CallStack (from HasCallStack): error, called at src/Ouroboros/Consensus/Util/ResourceRegistry.hs:104:31 in ouroboros-consensus-0.1.0.0-6HDMr0z0KdXIwfzJlxCxiL:Ouroboros.Consensus.Util.ResourceRegistry ``` 916: fixup Real PBFT setup r=mrBliss a=nfrisby The `RealPBFT` setup was creating nodes with different `CoreNodeId`s than expected. This was causing property failures during my work-in-progress on Issue #231 PR #773. Is it safe to export `plcCoreNodeId`, even just for testing? I'm weary of adding exports to code I'm not familiar with. 918: Eq and Ord instances for Async m a r=dcoutts a=coot Using 'QuantifiedConstraints' extension in 'MonadAsync'. Also provide instances for 'Async (SimM s) a'. Co-authored-by: Thomas Winant <[email protected]> Co-authored-by: Edsko de Vries <[email protected]> Co-authored-by: Nicolas Frisby <[email protected]> Co-authored-by: Marcin Szamotulski <[email protected]>
Again, a very important test because this is the one that will exercise the genesis chain selection rule.
The text was updated successfully, but these errors were encountered: