tustvold commented on code in PR #2610:
URL: https://github.com/apache/arrow-rs/pull/2610#discussion_r958326261
##########
object_store/src/aws/credential.rs:
##########
@@ -583,4 +595,84 @@ mod tests {
assert!(!secret.is_empty());
assert!(!token.is_empty())
}
+
+ #[tokio::test]
+ async fn test_mock() {
Review Comment:
There wasn't an obvious way to use the ec2-metadata-mock to test this
fallback, so I opted to reuse the plumbing from the retry tests. More test
coverage can't hurt :smile:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]