diff --git a/.travis.yml b/.travis.yml index 634464ed..e73c222a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget -N https://github.com/bazelbuild/bazel/releases/download/3.0.0/bazel-3.0.0-installer-linux-x86_64.sh && chmod +x bazel-3.0.0-installer-linux-x86_64.sh && ./bazel-3.0.0-installer-linux-x86_64.sh --user; go get -u github.com/swaggo/swag/cmd/swag; go mod download; sudo apt-get update; sudo apt-get install rpm; sudo apt install snapd; sudo snap install skopeo --edge --devmode; fi script: - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make && travis_wait make -f Makefile.bazel build; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then travis_wait make && travis_wait make -f Makefile.bazel build; fi after_success: - bash <(curl -s https://codecov.io/bash) diff --git a/pkg/api/controller_test.go b/pkg/api/controller_test.go index 141cda73..7885aec3 100644 --- a/pkg/api/controller_test.go +++ b/pkg/api/controller_test.go @@ -1617,42 +1617,6 @@ func TestParallelRequests(t *testing.T) { destImageName: "zot-4-test", testCaseName: "Request-14", }, - { - srcImageName: "zot-cve-test", - srcImageTag: "0.0.1", - destImageName: "zot-5-test", - testCaseName: "Request-15", - }, - { - srcImageName: "zot-cve-test", - srcImageTag: "0.0.1", - destImageName: "zot-1-test", - testCaseName: "Request-16", - }, - { - srcImageName: "zot-cve-test", - srcImageTag: "0.0.1", - destImageName: "zot-2-test", - testCaseName: "Request-17", - }, - { - srcImageName: "zot-cve-test", - srcImageTag: "0.0.1", - destImageName: "zot-3-test", - testCaseName: "Request-18", - }, - { - srcImageName: "zot-cve-test", - srcImageTag: "0.0.1", - destImageName: "zot-4-test", - testCaseName: "Request-19", - }, - { - srcImageName: "zot-cve-test", - srcImageTag: "0.0.1", - destImageName: "zot-5-test", - testCaseName: "Request-20", - }, } config := api.NewConfig() @@ -1792,7 +1756,7 @@ func TestParallelRequests(t *testing.T) { reader := bufio.NewReader(file) - b := make([]byte, 1024*1024) + b := make([]byte, 5*1024*1024) if j%4 == 0 { readContent := 0