Skip to content

Commit 871ac98

Browse files
committed
update ci-tests (#4)
1 parent 9188ba3 commit 871ac98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ jobs:
4646
- name: Configuring NAT
4747
run: |
4848
runner_uid="$UID"
49-
sudo nft list ruleset
5049
sudo nft 'add table inet test'
5150
sudo nft 'add chain inet test output_dnat { type nat hook output priority -100; }'
5251
sudo nft "add rule inet test output_dnat meta l4proto tcp ip daddr 1.1.1.1 meta skuid $runner_uid dnat to 127.0.0.1:4128"
5352
sudo nft "add rule inet test output_dnat meta l4proto tcp ip6 daddr 2606:4700:4700::1111 meta skuid $runner_uid dnat to [::1]:4129"
53+
sudo nft list ruleset
5454
5555
- name: Run tests
5656
run: |
57-
sudo build/proxy-forwarder-linux-amd64 -P 4128 -F http://127.0.0.1:3128 > /tmp/fwd1.log &
58-
sudo build/proxy-forwarder-linux-amd64 -P 4129 -F http://[::1]:3128 > /tmp/fwd2.log &
57+
sudo build/proxy-forwarder-linux-amd64 -P 4128 -F http://127.0.0.1:3128 &
58+
sudo build/proxy-forwarder-linux-amd64 -P 4129 -F http://[::1]:3128 &
5959
6060
bash scripts/test.sh

0 commit comments

Comments
 (0)