(t *testing.T)
| 12 | ) |
| 13 | |
| 14 | func TestParseQueue_Process(t *testing.T) { |
| 15 | if !testutils.IsSingleTesting() { |
| 16 | return |
| 17 | } |
| 18 | |
| 19 | var queue = agents.NewQueue() |
| 20 | go queue.Start() |
| 21 | time.Sleep(1 * time.Second) |
| 22 | queue.Push("220.181.13.100") |
| 23 | time.Sleep(1 * time.Second) |
| 24 | } |
| 25 | |
| 26 | func TestParseQueue_ParseIP(t *testing.T) { |
| 27 | if !testutils.IsSingleTesting() { |
nothing calls this directly
no test coverage detected