Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
bilalcaliskan committed Jan 2, 2022
1 parent 3a627c3 commit 49d4d63
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions internal/raw/raw_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ func TestStartFlooding(t *testing.T) {
{"100byte_syn", "syn", 100, srcPorts[rand.Intn(len(srcPorts))],
443, 100, srcIps[rand.Intn(len(srcIps))], "213.238.175.187",
macAddrs[rand.Intn(len(macAddrs))], macAddrs[rand.Intn(len(macAddrs))]},
{
"100byte_ack", "ack", 100, srcPorts[rand.Intn(len(srcPorts))],
443, 100, srcIps[rand.Intn(len(srcIps))], "213.238.175.187",
macAddrs[rand.Intn(len(macAddrs))], macAddrs[rand.Intn(len(macAddrs))],
},
}

for _, tc := range cases {
Expand All @@ -44,7 +39,6 @@ func TestStartFlooding(t *testing.T) {
t.Log("overslept")
case <-ctx.Done():
t.Logf("ending flood, caseName=%s, floodType=%s, floodMilliSeconds=%d\n", tc.name, tc.floodType, tc.floodMilliSeconds)
time.Sleep(2 * time.Second)
}
})
}
Expand Down

0 comments on commit 49d4d63

Please sign in to comment.