Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion testing/test_switch.out
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ RESULT skip base.startup.dhcp Using external DHCP
RESULT skip base.switch.ping No local IP has been set, check system config
RESULT pass connection.base.target_ping target reached %% 10.20.99.164
RESULT skip base.startup.ntp No NTP traffic detected %% NTP server 10.20.99.2
RESULT skip base.startup.dns No DNS traffic detected %% DNS server 10.20.99.2
9a:02:57:1e:8f:02 Unique IPs: 1
9a02571e8f03: ['9a02571e8f03:acquire:TimeoutError']
%%%%%%%%%%%%%%%%%%%%%% Native gauge test
Expand Down
2 changes: 1 addition & 1 deletion testing/test_switch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fgrep "Started faucet pid" inst/cmdrun.log
fgrep 'Learning 9a:02:57:1e:8f:01 on vid 1002' inst/cmdrun.log | head -1 | redact | tee -a $TEST_RESULTS
unique_ips=$(fgrep '10.20.99' inst/run-9a02571e8f01/scans/ip_triggers.txt | awk '{print $1}' | sort | uniq | wc -l)
echo 9a:02:57:1e:8f:01 Unique IPs: $unique_ips | tee -a $TEST_RESULTS
fgrep 'RESULT ' inst/run-9a02571e8f01/nodes/ping*/activate.log | tee -a $TEST_RESULTS
fgrep 'RESULT ' inst/run-9a02571e8f01/nodes/ping*/activate.log | fgrep -v DNS | tee -a $TEST_RESULTS

unique_ips=$(fgrep '10.20.1' inst/run-9a02571e8f02/scans/ip_triggers.txt | awk '{print $1}' | sort | uniq | wc -l)
echo 9a:02:57:1e:8f:02 Unique IPs: $unique_ips | tee -a $TEST_RESULTS
Expand Down