Skip to content

Commit

Permalink
Update e2e-test.yml to download torrent files 5 times in parallel ins…
Browse files Browse the repository at this point in the history
…tead of 10.
  • Loading branch information
rohitpaulk committed Oct 17, 2024
1 parent 46411cd commit 91825d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@ jobs:
- name: Install torrent client
run: sudo apt-get install -y aria2

- name: Download torrent files 10 times in parallel
- name: Download torrent files 5 times in parallel
run: |
for i in {1..10}; do
for i in {1..5}; do
aria2c --seed-time=0 seeder/torrent_files/**/${{ matrix.file.name }}.torrent -d download_$i &
done
wait
timeout-minutes: 2

- name: Verify SHA sum for all downloads
run: |
for i in {1..10}; do
for i in {1..5}; do
echo "${{ matrix.file.sha }} download_$i/${{ matrix.file.name }}" | sha256sum --check
done
Expand Down

0 comments on commit 91825d2

Please sign in to comment.