Skip to content

Commit 790bcc5

Browse files
committed
ADAP-162: Fix test maxWidthHeight for Runtime 13.x
1 parent cc42a8b commit 790bcc5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
170 Bytes
Binary file not shown.

src/test/java/com/openfin/desktop/WindowTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,10 @@ public void onError(Ack ack) {
664664

665665
@Override
666666
public void onError(Ack ack) {
667+
// starting 13.76.43.x, Runtime rejects setBounds with numbers > max height/width
668+
if (ack.getReason().contains("Proposed window bounds violate size constraints")) {
669+
latch.countDown();
670+
}
667671
}
668672

669673
});

0 commit comments

Comments
 (0)