Skip to content

Instantly share code, notes, and snippets.

@CosminNechifor
Created February 15, 2019 11:16
Show Gist options
  • Save CosminNechifor/b0aaa20ef082b3305f9f30544707ddb1 to your computer and use it in GitHub Desktop.
Save CosminNechifor/b0aaa20ef082b3305f9f30544707ddb1 to your computer and use it in GitHub Desktop.
Tasks ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│- [✔] Serial (0:09:42.454984) │
│ - [✔] Parallel (0:07:30.983466) - Open channels │
│ - [✔] OpenChannel (0:07:28.205066): {'from': 0, 'to': 1, 'total_deposit': 10} │
│ - [✔] OpenChannel (0:07:30.969988): {'from': 1, 'to': 2, 'total_deposit': 10} │
│ - [✔] Serial (0:00:10.422651) - Trying an impossible transfer - pfs should not provide a route │
│ - [✔] Transfer (0:00:00.229123): {'from': 2, 'to': 0, 'amount': 5, 'expected_http_status': 409} │
│ - [✔] Wait (0:00:10.000464): 10 │
│ - [✔] Assert (0:00:00.018050): {'from': 0, 'to': 1, 'balance': 10} │
│ - [✔] Assert (0:00:00.019215): {'from': 1, 'to': 0, 'balance': 0} │
│ - [✔] Assert (0:00:00.060912): {'from': 1, 'to': 2, 'balance': 10} │
│ - [✔] Assert (0:00:00.061990): {'from': 2, 'to': 1, 'balance': 0} │
│ - [✔] Serial (0:00:16.673324) - Trying a possible transfer - pfs should provide a route │
│ - [✔] Transfer (0:00:06.432399): {'from': 0, 'to': 2, 'amount': 5} │
│ - [✔] Wait (0:00:10.000826): 10 │
│ - [✔] Assert (0:00:00.017029): {'from': 0, 'to': 1, 'balance': 5} │
│ - [✔] Assert (0:00:00.027741): {'from': 1, 'to': 0, 'balance': 5} │
│ - [✔] Assert (0:00:00.032566): {'from': 1, 'to': 2, 'balance': 5} │
│ - [✔] Assert (0:00:00.120109): {'from': 2, 'to': 1, 'balance': 5} │
│ - [✔] Serial (0:01:44.330305) - Killing node 2, then node 1 closes the channel │
│ - [✔] StopNode (0:00:02.698700): 2 │
│ - [✔] CloseChannel (0:01:31.614438): {'from': 1, 'to': 2} │
│ - [✔] Wait (0:00:10.001399): 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment