Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: flaky integration test #299

Conversation

paullatzelsperger
Copy link
Member

@paullatzelsperger paullatzelsperger commented Jul 17, 2024

What this PR changes/adds

use proper deserialization of the Catalog[] response, so we can filter for the asset-1 of the provider-qna connector.

Why it does that

previously it used hard-coded indices in JSONPath expressions, which is brittle due to the non-canonical form of JSON.

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Linked Issue(s)

Closes # <-- insert Issue number if one exists

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@paullatzelsperger paullatzelsperger force-pushed the fix/flaky_integration_tests branch 2 times, most recently from ccef2e5 to 7c19c2b Compare July 17, 2024 20:12
@paullatzelsperger paullatzelsperger force-pushed the fix/flaky_integration_tests branch from 7c19c2b to 2dbe322 Compare July 17, 2024 20:12
@paullatzelsperger paullatzelsperger marked this pull request as ready for review July 17, 2024 20:18
@paullatzelsperger paullatzelsperger added the bug Something isn't working label Jul 17, 2024
@paullatzelsperger paullatzelsperger force-pushed the fix/flaky_integration_tests branch from 5c60921 to 555366f Compare July 18, 2024 06:39
@paullatzelsperger paullatzelsperger merged commit 5abb75d into eclipse-edc:main Jul 18, 2024
6 checks passed
@paullatzelsperger paullatzelsperger deleted the fix/flaky_integration_tests branch July 18, 2024 08:40
paullatzelsperger added a commit to paullatzelsperger/MinimumViableDataspace that referenced this pull request Jul 18, 2024
* fix: flaky int test

* use proper deserialization of the catalog

* renamed workflow

* log

* wait for DP to be available

* log only if test failed
paullatzelsperger added a commit to paullatzelsperger/MinimumViableDataspace that referenced this pull request Jul 18, 2024
* fix: flaky int test

* use proper deserialization of the catalog

* renamed workflow

* log

* wait for DP to be available

* log only if test failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants