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(java-sdk): fix integration test failure for write_and_expand #227

Merged
merged 2 commits into from
Oct 26, 2023

Conversation

booniepepper
Copy link
Contributor

@booniepepper booniepepper commented Oct 20, 2023

Description

ci: adds error logging for tests
fix: makes an expand integration test tolerate whitespace

References

Generates: openfga/java-sdk#29

Review Checklist

  • I have clicked on "allow edits by maintainers".
  • I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
  • The correct base branch is being used, if not main
  • I have added tests to validate that the change in functionality is working as expected

@booniepepper booniepepper force-pushed the feat-java/fix-client-tests branch 10 times, most recently from 88f9ab5 to ab673ef Compare October 20, 2023 23:01
@booniepepper
Copy link
Contributor Author

The previous error can be seen in this previous test run with test error logging enabled:

https://github.com/openfga/sdk-generator/actions/runs/6593409638/job/17915830601#step:7:612

The real response from a docker openfga server contained an extra space.

@booniepepper
Copy link
Contributor Author

I'm planning for now to just update the expand integration test case. I suspect the new whitespace is unintentional and other tests don't need the same update

@booniepepper booniepepper marked this pull request as ready for review October 20, 2023 23:22
@booniepepper booniepepper requested a review from a team as a code owner October 20, 2023 23:22
@rhamzeh rhamzeh added this pull request to the merge queue Oct 26, 2023
Merged via the queue into main with commit dc29311 Oct 26, 2023
8 checks passed
@rhamzeh rhamzeh deleted the feat-java/fix-client-tests branch October 26, 2023 18:29
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