Skip to content

Conversation

@agebhar1
Copy link
Contributor

@agebhar1 agebhar1 commented Apr 6, 2024

Description

Improve existing integration test by:

  • waiting for service endpoints instead of port (Kafka, LocalStack), port might by available but service is not ready
  • use Awailitility consistent
  • use JsonPath for asserting JSON content

Test Steps

mvn verify

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

#273.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@agebhar1 agebhar1 requested a review from a team as a code owner April 6, 2024 17:30
@agebhar1 agebhar1 force-pushed the feature/improveIT branch from 272b422 to f90f6f7 Compare April 9, 2024 12:20
Improve existing integration test by:

* waiting for service endpoints instead of port (Kafka, LocalStack),
  port might by available but service is not ready
* use [Awailitility](http://www.awaitility.org/) consistent
* use [JsonPath](https://github.com/json-path/JsonPath) for
  asserting JSON content

Closes aws#273.
@embano1 embano1 force-pushed the feature/improveIT branch from f90f6f7 to 34ad137 Compare April 9, 2024 14:44
@embano1 embano1 enabled auto-merge April 9, 2024 14:44
Copy link
Member

@embano1 embano1 left a comment

Choose a reason for hiding this comment

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

Thx a ton!!!

@embano1 embano1 merged commit c8b5436 into aws:main Apr 9, 2024
@agebhar1 agebhar1 deleted the feature/improveIT branch April 9, 2024 18:11
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.

2 participants