We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8650df commit a03f404Copy full SHA for a03f404
pkg/internal/controller/controller_test.go
@@ -1217,7 +1217,7 @@ var _ = Describe("controller", func() {
1217
cfg, err := testenv.Start()
1218
Expect(err).NotTo(HaveOccurred())
1219
m, err := manager.New(cfg, manager.Options{
1220
- LeaderElection: false,
+ LeaderElection: true,
1221
})
1222
1223
@@ -1261,7 +1261,7 @@ var _ = Describe("controller", func() {
1261
wg.Wait()
1262
1263
1264
- It("should not race with Start and only start sources once", func() {
+ It("should not cause a data race when called concurrently with Start and only start sources once", func() {
1265
ctx, cancel := context.WithCancel(context.Background())
1266
defer cancel()
1267
0 commit comments