Skip to content

Commit 0ccf143

Browse files
committed
m
1 parent 0870f3e commit 0ccf143

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/dafny_interop_test_vector_java.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- name: Start DynamoDB Local
5959
run: |
6060
java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar \
61-
-inMemory -sharedDb -port 8000 -noAuth > dynamodb-local.log 2>&1 &
61+
-inMemory -sharedDb -port 8000 > dynamodb-local.log 2>&1 &
6262
echo $! > dynamodb-local.pid
6363
6464
- name: Wait for DynamoDB Local
@@ -72,10 +72,12 @@ jobs:
7272
echo "Attempt $i: DynamoDB Local not ready yet..."
7373
sleep 2
7474
done
75-
# Verify it's actually working
75+
# Verify it's actually working with dummy credentials
7676
curl -X POST http://localhost:8000 \
7777
-H "Content-Type: application/x-amz-json-1.0" \
7878
-H "X-Amz-Target: DynamoDB_20120810.ListTables" \
79+
-H "Authorization: AWS4-HMAC-SHA256 Credential=dummy/20230101/us-east-1/dynamodb/aws4_request, SignedHeaders=host;x-amz-date, Signature=dummy" \
80+
-H "X-Amz-Date: 20230101T000000Z" \
7981
-d '{}' || (cat dynamodb-local.log && exit 1)
8082
8183
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)