Skip to content

Commit 348b207

Browse files
m
1 parent acc4a03 commit 348b207

4 files changed

Lines changed: 18 additions & 29 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,6 @@ jobs:
3030
- name: Build and publish to mavenLocal
3131
run: ./gradlew publishToMavenLocal
3232

33-
- name: Build Examples/DDBECwithSDKV2
34-
working-directory: Examples/DDBECwithSDKV2
35-
run: ./gradlew build
36-
37-
- name: Build Examples/Migration/PlaintextToAWSDBE
38-
working-directory: Examples/Migration/PlaintextToAWSDBE
39-
run: ./gradlew build
40-
41-
- name: Build Examples/Migration/DDBECv2ToAWSDBE
42-
working-directory: Examples/Migration/DDBECv2ToAWSDBE
43-
run: ./gradlew build
44-
4533
- name: Build Examples/DynamoDbEncryption
4634
working-directory: Examples/DynamoDbEncryption
4735
run: ./gradlew build

Examples/DDBECwithSDKV2/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ build
1818

1919
# Package Files #
2020
*.jar
21+
!gradle/wrapper/gradle-wrapper.jar
2122
*.war
2223
*.nar
2324
*.ear
42.6 KB
Binary file not shown.

Examples/DynamoDbEncryption/src/test/java/software/amazon/cryptography/examples/RetryAnalyzer.java

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,23 @@ public class RetryAnalyzer implements IRetryAnalyzer {
1919

2020
@Override
2121
public boolean retry(ITestResult result) {
22-
if (retryCount < maxRetryCount) {
23-
retryCount++;
24-
logger.info(
25-
String.format(
26-
"Retrying test '%s' - attempt %d/%d",
27-
result.getName(),
28-
retryCount,
29-
maxRetryCount
30-
)
31-
);
32-
try {
33-
Thread.sleep(5000L * (long) Math.pow(2, retryCount - 1)); // simple exponential backoff
34-
} catch (InterruptedException e) {
35-
Thread.currentThread().interrupt();
36-
}
37-
return true;
38-
}
22+
// if (retryCount < maxRetryCount) {
23+
// retryCount++;
24+
// logger.info(
25+
// String.format(
26+
// "Retrying test '%s' - attempt %d/%d",
27+
// result.getName(),
28+
// retryCount,
29+
// maxRetryCount
30+
// )
31+
// );
32+
// try {
33+
// Thread.sleep(5000L * (long) Math.pow(2, retryCount - 1)); // simple exponential backoff
34+
// } catch (InterruptedException e) {
35+
// Thread.currentThread().interrupt();
36+
// }
37+
// return true;
38+
// }
3939
return false;
4040
}
4141
}

0 commit comments

Comments
 (0)