summaryrefslogtreecommitdiff
path: root/test/e2e/search_test.go
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2020-03-18 09:26:52 -0700
committerJhon Honce <jhonce@redhat.com>2020-03-18 10:27:25 -0700
commit651ddd3560c8b6ec2c8e7290f198ce6ad8c97b9c (patch)
treecdc31c30f4a132e79651735b5278bc99b1e26fa2 /test/e2e/search_test.go
parentd9eb078e2a1cff73461f285924ab1ab8699e9bca (diff)
downloadpodman-651ddd3560c8b6ec2c8e7290f198ce6ad8c97b9c.tar.gz
podman-651ddd3560c8b6ec2c8e7290f198ce6ad8c97b9c.tar.bz2
podman-651ddd3560c8b6ec2c8e7290f198ce6ad8c97b9c.zip
Reduce CPU usage when --timeout=0
* Add second go routine for when a Timer is not needed. * goimports updated some project files Fixes #5531 Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'test/e2e/search_test.go')
-rw-r--r--test/e2e/search_test.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/e2e/search_test.go b/test/e2e/search_test.go
index 6d762d338..9ba0241fe 100644
--- a/test/e2e/search_test.go
+++ b/test/e2e/search_test.go
@@ -5,13 +5,14 @@ package integration
import (
"bytes"
"fmt"
- . "github.com/containers/libpod/test/utils"
- . "github.com/onsi/ginkgo"
- . "github.com/onsi/gomega"
"io/ioutil"
"os"
"strconv"
"text/template"
+
+ . "github.com/containers/libpod/test/utils"
+ . "github.com/onsi/ginkgo"
+ . "github.com/onsi/gomega"
)
type endpoint struct {