Skip to content

Commit 68c98ae

Browse files
author
sivakami
committed
set timeout as 0.
1 parent 3b25915 commit 68c98ae

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.pipelines/swiftv2-long-running/template/long-running-pipeline-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,5 +190,5 @@ stages:
190190
echo "==> Running datapath tests"
191191
export RG=${{ parameters.resourceGroupName }}
192192
export BUILD_ID=$(Build.BuildId)
193-
ginkgo -v -trace ./test/integration/swiftv2/longRunningCluster
193+
ginkgo -v -trace --timeout=0 ./test/integration/swiftv2/longRunningCluster
194194

test/integration/swiftv2/longRunningCluster/datapath_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ import (
1414

1515
func TestDatapath(t *testing.T) {
1616
gomega.RegisterFailHandler(ginkgo.Fail)
17-
ginkgo.RunSpecs(t, "Datapath Suite")
17+
// Set suite timeout to 0 (unlimited) for long-running tests
18+
suiteConfig, reporterConfig := ginkgo.GinkgoConfiguration()
19+
suiteConfig.Timeout = 0
20+
ginkgo.RunSpecs(t, "Datapath Suite", suiteConfig, reporterConfig)
1821
}
1922

2023
var _ = ginkgo.Describe("Datapath Tests", func() {

0 commit comments

Comments
 (0)