Skip to content

Commit

Permalink
fix(ci): added a new header
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez committed Oct 30, 2024
1 parent d770d66 commit 5609bc0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ void testAllKameletDependencies() throws Exception {

@Test
void testSupportedHeaders() throws Exception {
verifyHeaders("aws-s3-source", 24);
verifyHeaders("aws-s3-sink", 33);
verifyHeaders("aws-s3-source", 25);
verifyHeaders("aws-s3-sink", 34);
verifyHeaders("aws-cloudtrail-source", 4);
verifyHeaders("aws-redshift-source", 0);
verifyHeaders("aws-not-exists", 0);
Expand Down Expand Up @@ -278,7 +278,7 @@ void testSupportedHeaders() throws Exception {

void verifyHeaders(String name, int expected) {
List<ComponentModel.EndpointHeaderModel> headers = catalog.getKameletSupportedHeaders(name);
assertEquals(expected, headers.size());
assertEquals(expected, headers.size(), "Failure checking " + name);
}

@Test
Expand Down

0 comments on commit 5609bc0

Please sign in to comment.