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

Run cargo update #5289

Merged
merged 4 commits into from Sep 5, 2022
Merged

Run cargo update #5289

merged 4 commits into from Sep 5, 2022

Conversation

antgamdia
Copy link
Contributor

@antgamdia antgamdia commented Sep 2, 2022

Description of the change

I've noticed the pinniped-proxy deps were out of sync in some PRs, therefore I'm just running cargo update once every dep has been updated.

Besides, it defaults the k8s API to 1.24, as subsequent PRs will also update the corresponding go deps.

Benefits

Up to date rust deps.

Possible drawbacks

N/A

Applicable issues

Additional information

N/A

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
@netlify
Copy link

netlify bot commented Sep 2, 2022

Deploy Preview for kubeapps-dev canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit b1cbeeb
🔍 Latest deploy log https://app.netlify.com/sites/kubeapps-dev/deploys/63122611bd770c00084f0f02

@@ -520,7 +520,7 @@ mZu9A/ivt37pOQXm/HOX6tHB

// Without any changes, the make_token_credential_request function
// returns a request with the following hash.
const DEFAULT_TOKEN_CREDENTIAL_REQUEST_HASH: u64 = 2363471629413450951;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We were getting this error:

thread 'pinniped::tests::test_token_credential_request_hash_identical_with_status_change' panicked at 'assertion failed: `(left == right)`
  left: `2671791248625081931`,
 right: `2363471629413450951`', src/pinniped.rs:590:9

I'm assuming the upgrades in the dependencies made the initial hash change, hence this change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The error is transient, which is consistent with what Michael said at #4900.
Perhaps we should just ignore this test case for now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverting this change in the hash in favor of just ignoring the tests.

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>

This reverts commit ab2442e.
@antgamdia antgamdia merged commit 937cc17 into vmware-tanzu:main Sep 5, 2022
@antgamdia antgamdia deleted the update-cargo-deps branch September 5, 2022 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants