Skip to content

Commit

Permalink
chore(client): refactor client upload flow
Browse files Browse the repository at this point in the history
  • Loading branch information
maqi committed Jan 9, 2024
1 parent 3cfcdbc commit 7d47282
Show file tree
Hide file tree
Showing 4 changed files with 456 additions and 199 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -628,16 +628,17 @@ jobs:
run: cargo run --bin safe --release -- --log-output-dest=data-dir files upload "./test_data_1.tar.gz" -r 0
env:
SN_LOG: "all"
timeout-minutes: 60
timeout-minutes: 5

- name: Wait for certain period
run: sleep 300
timeout-minutes: 6

- name: Start a client to upload second file
run: cargo run --bin safe --release -- --log-output-dest=data-dir files upload "./test_data_2.tar.gz" -r 0
env:
SN_LOG: "all"
timeout-minutes: 60
timeout-minutes: 10

- name: Stop the local network and upload logs
if: always()
Expand Down
Loading

0 comments on commit 7d47282

Please sign in to comment.