This repository was archived by the owner on Jan 21, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,12 @@ test:
45
45
post :
46
46
# Report to codecov
47
47
- cd $WORKDIR && bash <(curl -s https://codecov.io/bash)
48
-
48
+
49
49
deployment :
50
50
pr :
51
51
branch : /pull\/.*/
52
52
commands :
53
- - DOCKER_BUILD_FLAGS="--rm=false" make build-docker
53
+ - # DISABLED TO SPEED UP PR Process: DOCKER_BUILD_FLAGS="--rm=false" make build-docker
54
54
55
55
release :
56
56
branch : /release-.*/
Original file line number Diff line number Diff line change @@ -346,7 +346,10 @@ func TestBrokerSubscriberExactMatchTopic(t *testing.T) {
346
346
require .NoError (t , m .Decode (& val ))
347
347
received1 <- val
348
348
} else {
349
- close (received1 )
349
+ if received1 != nil {
350
+ close (received1 )
351
+ received1 = nil
352
+ }
350
353
}
351
354
}
352
355
}
@@ -365,7 +368,10 @@ func TestBrokerSubscriberExactMatchTopic(t *testing.T) {
365
368
require .NoError (t , m .Decode (& val ))
366
369
received2 <- val
367
370
} else {
368
- close (received2 )
371
+ if received2 != nil {
372
+ close (received2 )
373
+ received2 = nil
374
+ }
369
375
}
370
376
}
371
377
}
@@ -384,7 +390,10 @@ func TestBrokerSubscriberExactMatchTopic(t *testing.T) {
384
390
require .NoError (t , m .Decode (& val ))
385
391
received3 <- val
386
392
} else {
387
- close (received3 )
393
+ if received3 != nil {
394
+ close (received3 )
395
+ received3 = nil
396
+ }
388
397
}
389
398
}
390
399
}
You can’t perform that action at this time.
0 commit comments