Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

JBTM-1346 crashrecovery05_1 test failure - add extra debug and extend…

… timeout
  • Loading branch information...
commit 71cfc7e32bdcf1d118eac935a305417554f05528 1 parent 0702a23
@mmusgrov mmusgrov authored
View
15 qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client04a.java
@@ -88,13 +88,22 @@ public static void main(String[] args)
service.setup_oper(1);
- correct = service.check_oper(checkBehaviors) && service.is_correct();
-
+ correct = service.check_oper(checkBehaviors);
+ if (!correct) {
+ System.out.println("Gonna fail1");
+ } else {
+ correct = service.is_correct();
+ if (!correct)
+ System.out.println("Gonna fail2");
+ }
CrashRecoveryDelays.awaitReplayCompletionCR05();
ResourceTrace resourceTrace = service.get_resource_trace(0);
- correct = correct && (resourceTrace == ResourceTrace.ResourceTraceRollback);
+ if (resourceTrace != ResourceTrace.ResourceTraceRollback) {
+ correct = false;
+ System.out.printf("Gonna fail3: resourceTrace=%s\n", resourceTrace.toString());
+ }
if (correct)
{
View
2  qa/tests/src/org/jboss/jbossts/qa/Utils/CrashRecoveryDelays.java
@@ -148,7 +148,7 @@ public static void awaitReplayCompletionCR02() throws InterruptedException {
}
public static void awaitReplayCompletionCR05() throws InterruptedException {
- awaitReplayCompletion(5); // was 60
+ awaitReplayCompletion(10); // was 60
}
public static void awaitReplayCompletionCR06() throws InterruptedException {
Please sign in to comment.
Something went wrong with that request. Please try again.