Skip to content

Commit

Permalink
fix flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Tucker committed Nov 8, 2023
1 parent c0e280d commit ac96965
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ public void testForceGzip() throws Exception {
@Test
public void testForceGzipOtherHeader() throws Exception {
noneGzipRequest();
when(request.getHeader("Test")).thenReturn("ok");
when(request.getHeaders("Test")).thenReturn(new Enumeration() {
private int c = 0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ public static ReplicationInstance newReplicationInstanceOf(Action action, Instan
instance.getAppName(),
instance.getId(),
System.currentTimeMillis(),
InstanceStatus.OUT_OF_SERVICE.name(),
null,
InstanceStatus.OUT_OF_SERVICE.name(),
null,
action
);
Expand All @@ -110,7 +110,7 @@ public static ReplicationInstance newReplicationInstanceOf(Action action, Instan
instance.getId(),
System.currentTimeMillis(),
InstanceStatus.OUT_OF_SERVICE.name(),
null,
InstanceStatus.UP.name(),
null,
action
);
Expand Down

0 comments on commit ac96965

Please sign in to comment.