Fix lineage mutation test constness
Foundation / checks (client) (push) Successful in 4s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 4s
Foundation / checks (ecs) (push) Successful in 1m56s
Foundation / checks (checks) (push) Failing after 4m0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (postgres) (push) Canceled after 8m38s
Foundation / checks (tsan) (push) Canceled after 6m48s
Foundation / checks (client) (push) Successful in 4s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 4s
Foundation / checks (ecs) (push) Successful in 1m56s
Foundation / checks (checks) (push) Failing after 4m0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (postgres) (push) Canceled after 8m38s
Foundation / checks (tsan) (push) Canceled after 6m48s
This commit is contained in:
@@ -408,7 +408,7 @@ void genome_revisions_preserve_birth_and_replay_current_genome() {
|
||||
CHECK(archive.current_genome(50) && *archive.current_genome(50) == 11);
|
||||
CHECK(!archive.record_mutation(50, descend(12, 11), evo::Tick{103}));
|
||||
const auto died_bytes = archive.encode();
|
||||
const auto died = LineageArchive::decode(died_bytes);
|
||||
auto died = LineageArchive::decode(died_bytes);
|
||||
CHECK(died && died->current_genome(50) && *died->current_genome(50) == 11);
|
||||
CHECK(!died->record_death(50, evo::Tick{101}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user