Skip to content

Commit ecc0124

Browse files
authored
Add support for running GitHub workflows manually and update flaky tests (#258)
1 parent 9793693 commit ecc0124

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build-validation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
name: Build Validation
99

1010
on:
11+
workflow_dispatch:
1112
push:
1213
branches: [ main ]
1314
pull_request:

client/src/test/java/com/microsoft/durabletask/IntegrationTests.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ void longTimerNonblockingNoExternal() throws TimeoutException {
200200

201201

202202
@Test
203+
@Disabled("Test is disabled for investigation")
203204
void longTimeStampTimer() throws TimeoutException {
204205
final String orchestratorName = "LongTimeStampTimer";
205206
final Duration delay = Duration.ofSeconds(7);
@@ -694,7 +695,7 @@ void externalEventsWithTimeouts(boolean raiseEvent) throws IOException, TimeoutE
694695
DurableTaskGrpcWorker worker = this.createWorkerBuilder()
695696
.addOrchestrator(orchestratorName, ctx -> {
696697
try {
697-
ctx.waitForExternalEvent(eventName, Duration.ofSeconds(3)).await();
698+
ctx.waitForExternalEvent(eventName, Duration.ofSeconds(10)).await();
698699
ctx.complete("received");
699700
} catch (TaskCanceledException e) {
700701
ctx.complete(e.getMessage());
@@ -719,7 +720,7 @@ void externalEventsWithTimeouts(boolean raiseEvent) throws IOException, TimeoutE
719720
if (raiseEvent) {
720721
assertEquals("received", output);
721722
} else {
722-
assertEquals("Timeout of PT3S expired while waiting for an event named '" + eventName + "' (ID = 0).", output);
723+
assertEquals("Timeout of PT10S expired while waiting for an event named '" + eventName + "' (ID = 0).", output);
723724
}
724725
}
725726
}

0 commit comments

Comments
 (0)