Skip to content

Commit cde3989

Browse files
auto commit
1 parent 13cf62c commit cde3989

File tree

1 file changed

+2
-1
lines changed
  • Examples/runtimes/go/migration/PlaintextToAWSDBE/awsdbe

1 file changed

+2
-1
lines changed

Examples/runtimes/go/migration/PlaintextToAWSDBE/awsdbe/step3_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ func TestMigrationStep3(t *testing.T) {
2424

2525
// When: Execute Step 3 with sortReadValue=0, Then: should panic (cannot read plaintext values)
2626
// MigrationStep3(kmsKeyID, tableName, partitionKey, sortKeys[0])
27-
utils.AssertServiceError(MigrationStep3(kmsKeyID, tableName, partitionKey, sortKeys[0]), "DynamoDB", "GetItem", "Encrypted item missing expected header and footer attributes")
27+
err = MigrationStep3(kmsKeyID, tableName, partitionKey, sortKeys[0])
28+
utils.AssertServiceError(err, "DynamoDB", "GetItem", "Encrypted item missing expected header and footer attributes")
2829

2930
// Given: Step 1 has succeeded
3031
err = MigrationStep1(kmsKeyID, tableName, partitionKey, sortKeys[1])

0 commit comments

Comments
 (0)