Skip to content

Conversation

@Fokko
Copy link
Contributor

@Fokko Fokko commented Feb 28, 2024

It was refreshing on each of the calls. I think the before_sleep is the correct hook.

It was refreshing on each of the calls. I think the `before_sleep`
is the correct hook.
new_header = dict(TEST_HEADERS)
new_header["Authorization"] = f"Bearer {new_token}"

rest_mock.post(
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 mock was never called.

Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps this is why I didn't catch it while validating

@Fokko
Copy link
Contributor Author

Fokko commented Feb 28, 2024

cc @anupam-saini

Copy link
Contributor

@anupam-saini anupam-saini left a comment

Choose a reason for hiding this comment

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

Thank you for catching this @Fokko

Copy link
Contributor

@HonahX HonahX left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @Fokko for fixing this and thanks @anupam-saini for reviewing!

@HonahX HonahX merged commit 1f433a4 into apache:main Feb 29, 2024
@Fokko Fokko deleted the fd-fix-2 branch February 29, 2024 11:11
himadripal pushed a commit to himadripal/iceberg-python that referenced this pull request Mar 1, 2024
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