Skip to content

Commit 70c6bca

Browse files
authored
test: Ignore flaky tests (#1924)
* test: Ignore AckSetTrackerImplTest#duplicateAckFails * test:Ignore AssigningSubscriberTest#assignerErrorFailsSubs * Ignore RoutingPublisherTest#publishValidRoute
1 parent 0a68f0e commit 70c6bca

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

google-cloud-pubsublite/src/test/java/com/google/cloud/pubsublite/cloudpubsub/internal/AckSetTrackerImplTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
import java.util.concurrent.Future;
4141
import org.junit.After;
4242
import org.junit.Before;
43+
import org.junit.Ignore;
4344
import org.junit.Test;
4445
import org.junit.runner.RunWith;
4546
import org.junit.runners.JUnit4;
@@ -99,6 +100,7 @@ public void trackAndAggregateAcks() throws CheckedApiException {
99100
assertThat(tracker.isRunning()).isTrue();
100101
}
101102

103+
@Ignore
102104
@Test
103105
public void duplicateAckFails() throws Exception {
104106
Runnable ack1 = tracker.track(messageForOffset(1));

google-cloud-pubsublite/src/test/java/com/google/cloud/pubsublite/cloudpubsub/internal/AssigningSubscriberTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
import java.util.Set;
4545
import java.util.concurrent.Future;
4646
import org.junit.Before;
47+
import org.junit.Ignore;
4748
import org.junit.Test;
4849
import org.junit.runner.RunWith;
4950
import org.junit.runners.JUnit4;
@@ -201,6 +202,7 @@ public void stopStopsSubs() throws CheckedApiException {
201202
verify(sub1).awaitTerminated();
202203
}
203204

205+
@Ignore
204206
@Test
205207
public void assignerErrorFailsSubs() throws Exception {
206208
Subscriber sub1 = initSub1();

google-cloud-pubsublite/src/test/java/com/google/cloud/pubsublite/internal/wire/RoutingPublisherTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
import com.google.common.collect.ImmutableMap;
3838
import com.google.protobuf.ByteString;
3939
import org.junit.Before;
40+
import org.junit.Ignore;
4041
import org.junit.Test;
4142
import org.junit.runner.RunWith;
4243
import org.junit.runners.JUnit4;
@@ -80,6 +81,7 @@ public void cancelOutstandingCancelsAll() throws Exception {
8081
this.routing.stopAsync().awaitTerminated();
8182
}
8283

84+
@Ignore
8385
@Test
8486
public void publishValidRoute() throws Exception {
8587
PubSubMessage message =

0 commit comments

Comments
 (0)