Skip to content

Commit

Permalink
Add append scenario to CI (#5838)
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou authored Nov 17, 2023
1 parent a6384ef commit a648fc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .azure-pipelines-templates/trace_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ steps:
set -ex
cd tla/
parallel 'JSON={} ./tlc.sh consensus/Traceccfraft.tla' ::: \
../build/startup.ndjson
../build/startup.ndjson \
../build/append.ndjson
displayName: "Run trace validation"
7 changes: 1 addition & 6 deletions tests/trace_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
import json
import rich

"""
TODO
Add status on responses (votes and append entries)
"""

LEADERSHIP_STATUS = {
"None": ":beginner:",
"Leader": ":crown:",
Expand All @@ -34,6 +28,7 @@
"become_leader": "BLea",
"become_follower": "BFol",
"commit": "Cmt",
"bootstrap": "Boot",
None: "",
}

Expand Down

0 comments on commit a648fc3

Please sign in to comment.