Skip to content

Commit a29ab7f

Browse files
committed
fixup! commit the tests themselves, using ginkgo v1
some v2 stuff still leaked in, fixing that
1 parent 029f86a commit a29ab7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/odh-notebook-controller/upgrade/suite_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func TestUpgrade(t *testing.T) {
7878
RunSpecs(t, "Controller Suite")
7979
}
8080

81-
var _ = BeforeSuite(func(_ SpecContext) {
81+
var _ = BeforeSuite(func() {
8282
ctx, cancel = context.WithCancel(context.TODO())
8383

8484
//_ = Step("", func() string {
@@ -210,7 +210,7 @@ var _ = BeforeSuite(func(_ SpecContext) {
210210
Expect(cli.Create(ctx, ns)).To(Succeed())
211211
}
212212

213-
}, NodeTimeout(60*time.Second))
213+
}, 60)
214214

215215
var _ = AfterSuite(func() {
216216
cancel()

0 commit comments

Comments
 (0)