Skip to content

Commit fd909c1

Browse files
auto commit
1 parent 5793440 commit fd909c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Examples/runtimes/net/src/migration/PlaintextToAWSDBE/awsdbe/MigrationStep1Test.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ public async Task TestMigrationStep1()
2020
string partitionKey = Guid.NewGuid().ToString();
2121
string[] sortKeys = { "0", "1", "2", "3" };
2222

23-
// Given: Step 0 has succeeded
24-
bool success = await MigrationStep0.MigrationStep0Example(tableName, partitionKey, sortKeys[0], sortKeys[0]);
25-
Assert.True(success, "MigrationStep0 should complete successfully");
26-
2723
// Successfully executes step 1
2824
success = await MigrationStep1.MigrationStep1Example(kmsKeyID, tableName, partitionKey, sortKeys[1], sortKeys[1]);
2925
Assert.True(success, "MigrationStep1 should complete successfully");
3026

27+
// Given: Step 0 has succeeded
28+
bool success = await MigrationStep0.MigrationStep0Example(tableName, partitionKey, sortKeys[0], sortKeys[0]);
29+
Assert.True(success, "MigrationStep0 should complete successfully");
30+
3131
// When: Execute Step 1 with sortReadValue=0, Then: Success (i.e. can read plaintext values from Step 0)
3232
success = await MigrationStep1.MigrationStep1Example(kmsKeyID, tableName, partitionKey, sortKeys[1], sortKeys[0]);
3333
Assert.True(success, "MigrationStep1 should be able to read items written by Step 0");

0 commit comments

Comments
 (0)