Skip to content

Conversation

@WadeWaldron
Copy link
Contributor

@WadeWaldron WadeWaldron commented Nov 6, 2024

Description

Recent updates in Confluent Cloud have improved the reliability of queries.

This negates the need for the retries that were previously used. The retry logic has been removed as a consequence.

Checklist

  • Unit tests created/updated for any new code (where applicable).
  • Run all tests with ./build.sh validate.
  • Update the CHANGELOG.md.
  • Update the README.md if necessary.

…eries.

This negates the need for the retries that were previously used.
The retry logic has been removed as a consequence.
@WadeWaldron WadeWaldron requested a review from a team as a code owner November 6, 2024 20:22
@confluent-cla-assistant
Copy link

🎉 All Contributor License Agreements have been signed. Ready to merge.
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

@Test
@Timeout(60)
public void createFreeShippingTable_shouldCreateTheTable() {
deleteTable(orderQualifiedForFreeShippingTableName);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VSCode doesn't respect the shutdown hooks that normally delete this table if you terminate the tests prematurely. This can leave things in a state where the test will fail because the table already exists.

Proactively deleting the table prior to running ensures that this doesn't happen.

}

public TableResult streamOrderPlacedAfterClick(Duration withinTimePeriod) {
createOrderPlacedAfterClickTable();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't need to be there, and it's not in the exercise instructions. Removing it for consistency with other similar methods.

Copy link

@alpinegizmo alpinegizmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice to see things being simplified.

@WadeWaldron WadeWaldron merged commit aa3c094 into main Nov 8, 2024
1 check passed
@WadeWaldron WadeWaldron deleted the test-reliability branch November 8, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants