commit | 98a6cccb052c5d17f4f2429edf41d57bd74b7ffd | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Tue Jun 20 13:09:12 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Tue Jun 20 14:18:27 2023 +0000 |
tree | da656463788abd785a884743e5c5f75e0da7f7c7 | |
parent | c1ce95f7e86c74a76ae2b29986905cb34cb19e56 [diff] |
metropolis/consensus: fix race condition This returns a copy of each status, instead of the same status, possibly mutated. Change-Id: Ic4ed425a38b001b0139a81c46c61af551b966166 Reviewed-on: https://review.monogon.dev/c/monogon/+/1826 Tested-by: Jenkins CI Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later!
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm
(if you want to run tests).Our docs assume that Bazelisk is available as bazel
on your PATH.
Refer to SETUP.md for detailed instructions.
Build CLI and node image:
bazel build //metropolis/cli/dbg //:launch -c dbg
Launch an ephemeral test node:
bazel test //:launch -c dbg --test_output=streamed
Run a kubectl command while the test is running:
bazel-bin/metropolis/cli/dbg/dbg_/dbg kubectl describe node
Run full test suite:
bazel test -c dbg //...