Skip to content

Commit

Permalink
tmp wtf
Browse files Browse the repository at this point in the history
  • Loading branch information
grongor committed Feb 8, 2024
1 parent 5556caa commit c886054
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion snmpproxy/requester_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func TestMain(m *testing.M) {
"--v2c-arch",
"--data-dir", path.Join(wd, "test_data"),
"--agent-udpv4-endpoint", "127.0.0.1:15728",
"--agent-udpv6-endpoint", "[::1]:15728",
"--agent-udpv6-endpoint", "[::1]:15729",
)

buffer := syncBuffer{}
Expand All @@ -70,6 +70,11 @@ func TestMain(m *testing.M) {
}
}

time.Sleep(time.Second * 5)

println(buffer.String())
os.Exit(1)

code := m.Run()

_ = cmd.Process.Kill()
Expand Down

0 comments on commit c886054

Please sign in to comment.