File tree Expand file tree Collapse file tree 4 files changed +4
-25
lines changed Expand file tree Collapse file tree 4 files changed +4
-25
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ query: TESTNET ## Query tip of all pools
77
77
for i in $$ (seq 1 $$ {pools}) ; do docker exec -ti p$$ {i} timeout 0.05 cardano-cli ping --magic 42 --host 127.0.0.1 --port 3001 --tip --quiet -c1; done ; true
78
78
79
79
validate : TESTNET # # Check for consensus among all pools
80
- docker exec -ti s1 /opt/composer /convergence/eventually_converged.sh
80
+ docker exec -ti s1 /opt/antithesis/test/v1 /convergence/eventually_converged.sh
81
81
82
82
anti : TESTNET # # Run Antithesis job
83
83
curl --fail -u " ${username} :${password} " -X POST ${url} -H " Content-Type: application/json" -d " $$ (jq -n \
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ POOL_ID="${POOL_ID:-}"
17
17
PORT=" ${PORT:- 3001} "
18
18
PROMETHEUS_LISTEN=" ${PROMETHEUS_LISTEN:- 127.0.0.1} "
19
19
PROMETHEUS_PORT=" ${PROMETHEUS_PORT:- 12798} "
20
- SYSTEM_START=" ${SYSTEM_START:- $(date -d " now - 1 minute " +% Y-% m-% dT% H:% M: 00Z)} "
20
+ SYSTEM_START=" ${SYSTEM_START:- $(date -d " @ $(( ( $(date +% s) / 120 ) * 120 )) " +% Y-% m-% dT% H:% M: 00Z)} "
21
21
TYPE=" ${TYPE:- bp} "
22
22
USE_LEDGER_AFTER_SLOT=" ${USE_LEDGER_AFTER_SLOT:- 0} "
23
23
Original file line number Diff line number Diff line change @@ -75,12 +75,9 @@ RUN groupadd --gid 10000 cardano && \
75
75
# Create Antithesis directory
76
76
RUN install --directory --owner=cardano --group=cardano --mode=0750 /opt/antithesis/test/v1
77
77
78
- # Create Test Composer directory
79
- RUN install --directory --owner=cardano --group=cardano --mode=0750 /opt/composer
80
-
81
78
# Copy Antithesis scripts
82
- COPY composer /opt/composer
83
- RUN chmod 0755 /opt/composer /*/*
79
+ COPY composer /opt/antithesis/test/v1/
80
+ RUN chmod 0755 /opt/antithesis/test/v1 /*/*
84
81
85
82
# Copy sidecar.sh
86
83
COPY sidecar.sh /
Original file line number Diff line number Diff line change @@ -21,23 +21,6 @@ verify_environment_variables() {
21
21
fi
22
22
}
23
23
24
- enable_composers () {
25
- # CONVERGENCE_COMPOSER
26
- if [ " ${CONVERGENCE_COMPOSER,,} " = " true" ]; then
27
- local src_dir=" /opt/composer/convergence"
28
- local dest_dir=" /opt/antithesis/test/v1/convergence"
29
-
30
- mkdir -p " $dest_dir "
31
-
32
- for file in " $src_dir " /* ; do
33
- if [ -f " $file " ]; then # Only process regular files (not directories or symlinks)
34
- local filename=$( basename " $file " )
35
- ln -snf " $file " " $dest_dir /$filename "
36
- fi
37
- done
38
- fi
39
- }
40
-
41
24
signal_ready () {
42
25
if [ ! -f " ${ANTITHESIS_OUTPUT_DIR} /sdk.jsonl" ]; then
43
26
for i in $( seq 1 " ${POOLS} " ) ; do
@@ -61,7 +44,6 @@ signal_ready() {
61
44
# Establish run order
62
45
main () {
63
46
verify_environment_variables
64
- enable_composers
65
47
signal_ready
66
48
while true ; do
67
49
sleep 60
You can’t perform that action at this time.
0 commit comments