File tree 3 files changed +6
-9
lines changed
3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,12 @@ else VER=$1;
7
7
fi
8
8
9
9
echo " running tests"
10
- echo " 1_start_and_stop_a_node_without_database-mainnet.sh"
11
10
bash 1_start_and_stop_a_node_without_database-mainnet.sh $VER
12
11
rc=$? ; if [[ $rc != 0 ]]; then exit $rc ; fi
13
- echo " 1_start_and_stop_a_node_without_database-testnet.sh"
14
12
bash 1_start_and_stop_a_node_without_database-testnet.sh $VER
15
13
rc=$? ; if [[ $rc != 0 ]]; then exit $rc ; fi
16
- bash 2_start_and_stop_a_node_known_database-testnet.sh
17
- echo " bash 2_start_and_stop_a_node_known_database-testnet.sh"
14
+ bash 2_start_and_stop_a_node_known_database-testnet.sh $VER
18
15
rc=$? ; if [[ $rc != 0 ]]; then exit $rc ; fi
19
16
bash 3_create_a_transaction_on_Node_A_and_find_it_in_Node_B.sh $VER
20
- echo " bash 3_create_a_transaction_on_Node_A_and_find_it_in_Node_B.sh"
21
17
rc=$? ; if [[ $rc != 0 ]]; then exit $rc ; fi
22
- echo " finished running tests"
18
+ echo " finished running tests successfully "
Original file line number Diff line number Diff line change @@ -67,4 +67,4 @@ def getTrytes(hash):
67
67
68
68
else :
69
69
print "waiting for API"
70
- time .sleep (10 )
70
+ time .sleep (10 )
Original file line number Diff line number Diff line change 24
24
if $3 ;
25
25
then
26
26
echo " copy testnet db"
27
- cp -f ../testnet_files/testnetdb $node / testnetdb
28
- cp -f ../testnet_files/snapshot.txt $node / snapshot.txt
27
+ cp -rf ../../ testnet_files/testnetdb testnetdb
28
+ cp -f ../../ testnet_files/snapshot.txt snapshot.txt
29
29
else # NO really working
30
30
echo " copy mainnet db"
31
31
cp -f ../testnet_files/testnetdb $node /testnetdb
44
44
else
45
45
echo " start node.. mainnet on port: " $port
46
46
fi
47
+ echo " cmdOpt =" $cmdOpt
47
48
java -jar iri-$1 .jar -p $port -u $port -t ` expr $port + $5 ` -n ' udp://localhost:' ` expr $port - 1` ' udp://localhost:' ` expr $port + 1` $cmdOpt & > iri.log &
48
49
echo $! > iri.pid
49
50
cd ..
You can’t perform that action at this time.
0 commit comments