Skip to content

Commit

Permalink
Addresses dlicDlsFlsTest failures
Browse files Browse the repository at this point in the history
Signed-off-by: Darshit Chanpura <[email protected]>
  • Loading branch information
DarshitChanpura committed Jul 19, 2023
1 parent 28982a6 commit 5fdad23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public void testCcs() throws Exception {
Assert.assertFalse(ccs.getBody().contains("secret1"));
Assert.assertFalse(ccs.getBody().contains("AnotherSecredField"));
Assert.assertFalse(ccs.getBody().contains("xxx1"));
Assert.assertEquals(ccs.getHeaders().toString(), 3, ccs.getHeaders().size());
Assert.assertEquals(ccs.getHeaders().toString(), 1, ccs.getHeaders().size());
}

@Test
Expand Down Expand Up @@ -251,7 +251,7 @@ public void testCcsDifferentConfig() throws Exception {
Assert.assertTrue(ccs.getBody().contains("__fn__crl2"));
Assert.assertFalse(ccs.getBody().contains("secret1"));
Assert.assertFalse(ccs.getBody().contains("AnotherSecredField"));
Assert.assertEquals(ccs.getHeaders().toString(), 3, ccs.getHeaders().size());
Assert.assertEquals(ccs.getHeaders().toString(), 1, ccs.getHeaders().size());
}

@Test
Expand Down Expand Up @@ -382,6 +382,6 @@ public void testCcsDifferentConfigBoth() throws Exception {
Assert.assertFalse(ccs.getBody().contains("secret1"));
Assert.assertFalse(ccs.getBody().contains("AnotherSecredField"));
Assert.assertTrue(ccs.getBody().contains("someoneelse"));
Assert.assertEquals(ccs.getHeaders().toString(), 3, ccs.getHeaders().size());
Assert.assertEquals(ccs.getHeaders().toString(), 1, ccs.getHeaders().size());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public void testDls() throws Exception {
);
Assert.assertTrue(res.getBody().contains("\"value\" : 1,\n \"relation"));
Assert.assertTrue(res.getBody().contains("\"failed\" : 0"));
Assert.assertEquals(res.getHeaders().toString(), 3, res.getHeaders().size());
Assert.assertEquals(res.getHeaders().toString(), 1, res.getHeaders().size());

Assert.assertEquals(
HttpStatus.SC_OK,
Expand Down

0 comments on commit 5fdad23

Please sign in to comment.