Skip to content

Commit

Permalink
Increase timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold committed Oct 30, 2023
1 parent 7bef442 commit d9aae85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/object_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: test
AWS_ENDPOINT: http://localhost:4566
AWS_ALLOW_HTTP: true
# We use a low timeout to speed up tests, this should not be replicated for production environments
AWS_COPY_IF_NOT_EXISTS: dynamo:test-table:100
AWS_COPY_IF_NOT_EXISTS: dynamo:test-table:2000
HTTP_URL: "http://localhost:8080"
GOOGLE_BUCKET: test-bucket
GOOGLE_SERVICE_ACCOUNT: "/tmp/gcs.json"
Expand Down Expand Up @@ -153,7 +152,7 @@ jobs:
rustup default stable
- name: Run object_store tests
run: cargo test --features=aws,azure,gcp,http -- --test-threads=1
run: cargo test --features=aws,azure,gcp,http

# test the object_store crate builds against wasm32 in stable rust
wasm32-build:
Expand Down
2 changes: 1 addition & 1 deletion object_store/src/aws/dynamo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ impl DynamoCommit {
};

builder
// .timeout(Duration::from_millis(self.timeout))
.timeout(Duration::from_millis(self.timeout))
.json(&req)
.header("X-Amz-Target", target)
.with_aws_sigv4(cred, region, "dynamodb", true, None)
Expand Down

0 comments on commit d9aae85

Please sign in to comment.