Skip to content

Commit 6788760

Browse files
committed
Bug 37273261 - [37107153->14.1.2.0.1] Build: Intermittent failure in NamedQueueProxyProtocolIT.shouldEnsureSimpleDequeAfterPagedQueue (14.1.2.0 cl 112682 --> ce/14.1.2.0)
[git-p4: depot-paths = "//dev/coherence-ce/release/coherence-ce-v14.1.2.0/": change = 113203]
1 parent 9e5793e commit 6788760

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

prj/test/functional/grpc-proxy-tck/src/main/java/grpc/proxy/version_1/NamedQueueProxyProtocolIT.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2024, Oracle and/or its affiliates.
2+
* Copyright (c) 2000, 2025, Oracle and/or its affiliates.
33
*
44
* Licensed under the Universal Permissive License v 1.0 as shown at
55
* https://oss.oracle.com/licenses/upl.
@@ -864,6 +864,9 @@ protected int ensureQueue(StreamObserver<ProxyRequest> channel, TestStreamObserv
864864
NamedQueueResponse response = unpackAny(proxyResponse, ProxyResponse::getMessage, NamedQueueResponse.class);
865865
int queueId = response.getQueueId();
866866

867+
// wait for the completion message
868+
observer.awaitCount(responseId + 1, 1, TimeUnit.MINUTES);
869+
867870
assertThat(queueId, is(not(0)));
868871
return queueId;
869872
}
@@ -953,7 +956,9 @@ protected <M extends Message, T extends Message> T unpackAny(M message, Function
953956
catch (Throwable e)
954957
{
955958
throw Exceptions.ensureRuntimeException(e,
956-
"Failed to unpack proto message: " + e.getMessage() + "\nMessage:\n" + message);
959+
"Failed to unpack proto message: " + e.getMessage()
960+
+ "\nMessage:\n" + message
961+
+ "\nExpected:\n" + expected);
957962
}
958963
}
959964

0 commit comments

Comments
 (0)