Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 87cebc1

Browse files
committed
surveyor: change test IP for clarification
1 parent 2517072 commit 87cebc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

infra/surveyor/default.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ let tests =
3838
touch $out
3939
'';
4040

41-
# Accessing 127.0.0.2 reroutes to 127.0.0.1
41+
# Accessing 192.168.42.42 reroutes to 127.0.0.1
4242
test_addrMap =
4343
''
4444
${runPort 1234}
4545
46-
SRV_MAP="127.0.0.2:*:127.0.0.1:*" \
46+
SRV_MAP="192.168.42.42:*:127.0.0.1:*" \
4747
LD_PRELOAD="${pkgs.surveyor}/lib/surveyor.so" \
48-
curl 127.0.0.2:1234 | grep -q '1234'
48+
curl 192.168.42.42:1234 | grep -q '1234'
4949
5050
touch $out
5151
'';

0 commit comments

Comments
 (0)