Skip to content

Commit

Permalink
Merge branch 'main' of github.com:dragonflyoss/Dragonfly2 into featur…
Browse files Browse the repository at this point in the history
…e/filter
  • Loading branch information
gaius-qi committed May 22, 2023
2 parents cbc2597 + 39c9839 commit cc206ea
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compatibility-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

- name: Get dependencies
run: |
go install github.com/onsi/ginkgo/v2/ginkgo@v2.8.3
go install github.com/onsi/ginkgo/v2/ginkgo@v2.9.4
mkdir -p /tmp/artifact
go mod vendor
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:

- name: Get dependencies
run: |
go install github.com/onsi/ginkgo/v2/ginkgo@v2.8.3
go install github.com/onsi/ginkgo/v2/ginkgo@v2.9.4
mkdir -p /tmp/artifact
- name: Setup buildx
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ var servers = map[string]server{
name: managerServerName,
namespace: dragonflyNamespace,
logDirName: managerServerName,
replicas: 3,
replicas: 1,
},
schedulerServerName: {
name: schedulerServerName,
Expand Down
10 changes: 5 additions & 5 deletions test/e2e/dfget_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func singleDfgetTest(name, ns, label, podNamePrefix, container string) {
Expect(err).NotTo(HaveOccurred())

// slow download
Expect(end.Sub(start).Seconds() < 90.0).To(Equal(true))
Expect(end.Sub(start).Seconds() < 200.0).To(Equal(true))
}

// calculate downloaded files sha256sum
Expand Down Expand Up @@ -260,7 +260,7 @@ func singleDfgetTest(name, ns, label, podNamePrefix, container string) {
Expect(err).NotTo(HaveOccurred())

// slow download
Expect(end.Sub(start).Seconds() < 90.0).To(Equal(true))
Expect(end.Sub(start).Seconds() < 200.0).To(Equal(true))
}

// calculate downloaded files sha256sum
Expand Down Expand Up @@ -344,7 +344,7 @@ func downloadSingleFile(ns string, pod *e2eutil.PodExec, path, url string, size
Expect(sha256sum1).To(Equal(sha256sum2))

// slow download
Expect(end.Sub(start).Seconds() < 30.0).To(Equal(true))
Expect(end.Sub(start).Seconds() < 50.0).To(Equal(true))

// download file via dfget with offset
if rg != nil {
Expand All @@ -369,7 +369,7 @@ func downloadSingleFile(ns string, pod *e2eutil.PodExec, path, url string, size
Expect(sha256sum1).To(Equal(sha256sumz))

// slow download
Expect(end.Sub(start).Seconds() < 30.0).To(Equal(true))
Expect(end.Sub(start).Seconds() < 50.0).To(Equal(true))
}

// skip dfdaemon
Expand All @@ -392,5 +392,5 @@ func downloadSingleFile(ns string, pod *e2eutil.PodExec, path, url string, size
Expect(sha256sum1).To(Equal(sha256sum3))

// slow download
Expect(end.Sub(start).Seconds() < 30.0).To(Equal(true))
Expect(end.Sub(start).Seconds() < 50.0).To(Equal(true))
}

0 comments on commit cc206ea

Please sign in to comment.