Skip to content

Commit

Permalink
update maven in codegen. add logging in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbiscigl committed Jun 21, 2023
1 parent 6e3cc9c commit 0d214e8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion tests/aws-cpp-sdk-sqs-integration-tests/QueueOperationTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,15 @@ TEST_F(QueueOperationTest, TestSendReceiveDelete)
AWS_ASSERT_SUCCESS(deleteMessageOutcome);

receiveMessageOutcome = sqsClient->ReceiveMessage(receiveMessageRequest);
EXPECT_EQ(0uL, receiveMessageOutcome.GetResult().GetMessages().size());
EXPECT_EQ(0uL, receiveMessageOutcome.GetResult().GetMessages().size()) << "Found messages in queue: \n"
<< [&]() -> Aws::String {
const auto &messages = receiveMessageOutcome.GetResult().GetMessages();
Aws::StringStream ss;
for (const auto &message: messages) {
ss << message.GetBody() << "\n";
}
return ss.str();
}();
}


Expand Down
2 changes: 1 addition & 1 deletion tools/code-generation/generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand Down

0 comments on commit 0d214e8

Please sign in to comment.