forked from electrumsv/electrumsv-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
standardized_tests.yaml
57 lines (53 loc) · 1.82 KB
/
standardized_tests.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
steps:
- script: |
electrumsv-sdk install node
electrumsv-sdk install electrumsv
electrumsv-sdk install whatsonchain
electrumsv-sdk install merchant_api
electrumsv-sdk install header_sv
electrumsv-sdk install simple_indexer
electrumsv-sdk install reference_server
electrumsv-sdk install dpp_proxy
displayName: 'Install all components'
- script: |
electrumsv-sdk start --background status_monitor
electrumsv-sdk start --background --new node
electrumsv-sdk start --background --new --deterministic-seed electrumsv
electrumsv-sdk node generate 1
electrumsv-sdk start --background whatsonchain
electrumsv-sdk start --background merchant_api
electrumsv-sdk start --background header_sv
electrumsv-sdk start --background simple_indexer
electrumsv-sdk start --background reference_server
electrumsv-sdk start --background dpp_proxy
electrumsv-sdk status
python3 ./contrib/check_all_started.py 9
displayName: 'Start all components'
continueOnError: true
- script: |
electrumsv-sdk stop node
electrumsv-sdk stop electrumsv
electrumsv-sdk stop whatsonchain
electrumsv-sdk stop status_monitor
electrumsv-sdk stop merchant_api
electrumsv-sdk stop header_sv
electrumsv-sdk stop simple_indexer
electrumsv-sdk stop reference_server
electrumsv-sdk stop dpp_proxy
electrumsv-sdk status
python3 ./contrib/check_all_stopped.py
displayName: 'Stop all components'
continueOnError: true
- script: |
sleep 5
electrumsv-sdk reset
electrumsv-sdk status
displayName: 'Reset all components'
continueOnError: true
- script: |
sleep 5
electrumsv-sdk reset --id=node1 node
electrumsv-sdk reset --id=electrumsv1 --deterministic-seed electrumsv
electrumsv-sdk status
displayName: 'Reset by id'
continueOnError: true