From 6b6ac99f6a35ef01ae3d57c146ad6006b1f4e20e Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Tue, 13 Feb 2024 13:54:46 +1100 Subject: [PATCH] Add test for websocket ping/pong Fixes #31157 --- .idea/icon.png | Bin 6799 -> 0 bytes .idea/icon_dark.png | Bin 6856 -> 0 bytes .idea/runConfigurations/mvnDebug.xml | 15 ------------- .../test/WebsocketRootPathTestCase.java | 21 ++++++++++++++++++ .../java/io/quarkus/it/flyway/AppEntity.java | 11 +++++++++ .../src/main/resources/application.properties | 2 +- 6 files changed, 33 insertions(+), 16 deletions(-) delete mode 100644 .idea/icon.png delete mode 100644 .idea/icon_dark.png delete mode 100644 .idea/runConfigurations/mvnDebug.xml diff --git a/.idea/icon.png b/.idea/icon.png deleted file mode 100644 index 7ef06962ecc8cc30b5c6369ed3bab2d6177ba939..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6799 zcmaKRbyyVN7x(Paxim|Ml!SmZ2rL2uA|W9lwKPgeE4eh%9nv6zfTV;Vp>zp?bSxdx zAhA;K`1?NZ^Spn(f6UCCx#!$_XXc#G`J8j#YHO;H5YiI@06?Oqs-yz|5U>dW@NvP5 ziCd{Hcp-SDYUB<8(5`<6#5ggB2mt66)RYwTUT5#+5F}9Rr-j2D6!yZ3Sz{0ib16lv zvjz4)d3B&GF;GqHR-=4b$`z=vy>6UwD4ax=DOiA%M|G%4yMc&Opip!C-e@VxI0nBo zpR{~s5?{ZnY#KZB0$tu^XCokZVzc=5&B3iQ8T>%@&6|V4lTE43Tz8iUtKK*!%7>Au z9&00-k*(SQehr)uV53oluy$GU0HKD&I4H8{0)Wg?mq zY}y|m2=2rWOr4^?$f>CQ%GMiw>O<|36jYpJgLv`VzkPgQIlEIoEk^ub9a=%^*Zd%ux$?Q!&Wf>o(h zn%jUYdqy_th4wula%Z!mY?CrCL3D{+FP>j@gGjIN39z(3VyZs^&r1+T#36h7pf(mk z6p)VNg&}GJxl@9E;5C*=FA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($@l#L9g9C%Sgo*n0jUA_UgHM6H#qpEnBdRKJXvr}bFZ<-Ej)_|onH`!emaM379Vt%OvK?OO=@<8q$Tw`i;lf}gOls>> zc0?pFOux@#%n?*?b5r%6atJM*<+p|&$kT#_&~zY%_u#`ss5bygVb4<@lbj?eYy4J$4en1q&-cirbebRA z)kSZ8`zcmd7C8zpw|;#^B}1xV^i;ZrLEi!)e&muJG>p->DyHl!Vi3cC^=bE3&0S^i zMVrpU|2#t%({onW=bvrj4|zvWxI3l2FM3&*@O1rb-n+VnwKW$Jat;=*sUU8Q`dMKy z4ey0W8gLkhk~-?Vn-G=6WO(|%@C-9Jb{6661!qNwLPCB%H$n-tZ^|E{1^`msf^$~U zxZO$;!QoVwP`zz5+OIkyLfj~yqfLA0x@^M4S|)y9On?}*7y9C=aK#Z}&Cil;IAqBd z4Gyu`0Y{4PzGO@pqM78U)#SHu8?~I~%%H0#pN=YXmy~9d@p`iDRr#7?$Vk7c`{y$y zfxy3;l+cf64n!P`x7+P)FIFjif=lG+ef3;gtLDwW0}f?A9IFh@yq2_}ACou&4M0}p z$~?(BGeTN>=l^aUs30M)2bLef7+z;eW+>VT(N6ae$zVeFsOy#ALla0Rqsh4+wXRDN zq__0Y@NO@am(7%~E8+;t9aA-X2*11okRB3NI}hzfdGgK#3UUBZy!ticWV|3ojhkzm>!;yF!ggxeU%+V_`e{ zR|RYK6U)VI^`OhNCeEVHpa^^d*t5<5cgyAfvoFKPetaA3+f(O7Z3=EM0f3sarc&iY HWbpq1X_U=^ diff --git a/.idea/icon_dark.png b/.idea/icon_dark.png deleted file mode 100644 index ac7f15e5133a549b4f16ffd3e793f2bb23262ae1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6856 zcma)h`9GB3`~N+oF^pwo$(kW#&r*?uG4^Ch_9biLm3`lhU6M6f$C9N&vSkfpPedWv zcP9H<41@38=lu_Sf4Cp#+>ggO*Ex@K&h>m=&+B@wtF1l>)!`4OU6+F09$~DvZB6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FahU3W^)g6Hy%RO9<4QPnNt=O zm|AHelF0zsmRv)2_?n)$ZoffQg+&-}uL1E;*or z780@?7kbjx?kZH&d=@*R+bhyI%5-}04zMmNepc^z8YDVYo{mIr@0ugosjG7~?BBV} zCe8b{$0IMtKl}dnU>MmZ(ju3c`20t%a3?mjp~l};L^Ip#`;WU`Qbg+G>-rSv?b=3D zD(f68rxR8ZJujnicjAMTm{J>VW8(X``&w*@JteM?c_ca-WAFgr=N4m0RSfb9O9_+r zb1WmUahJwLaS%=k+`luZd4VmsuRtOtS07rXif+8o92P|0V-tu!rvP(Nkbl?+CSJ23 z>+Qye8zfIkbL70=nc)dE7H-guq1){^+KJmrtYUdpjtJ+NXr1+ZNoP<7RA6dQ5hj#? zK1*O?WKm(MvHH`I$7R6}Spp}b2~REP%b%PE+~|&lGj(Hf@UJpdP-are64HRK^0+=^B`DV47%*VmIR1mp|Dj0+aJ}MQq4D3h44Hs>Xju4x zL;4wLg}C=ypdKBK-;&GOHACb1HQ z*Lt{znXvu61X*11K;*{LA2JRSLOEf!Jp{qa+3(P(t09Y19wy02L?Hwl`LX+I`Q)4K zABM`JAykIsis>DnLfXp{yEuOqAElK8!-`7Q$PQ_7$5l+PhVmvLbutla=@z7xk~72t zuRN&gW{x4g34$fjjyBDYrAZdrTs69M1CZ*$(OGbLD^B~;uh5`pDqK;<%p8kVC4e(ibI31 zi$fgHw@b8tit~v{*3ba diff --git a/.idea/runConfigurations/mvnDebug.xml b/.idea/runConfigurations/mvnDebug.xml deleted file mode 100644 index 522dd94a4e0822..00000000000000 --- a/.idea/runConfigurations/mvnDebug.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - \ No newline at end of file diff --git a/extensions/websockets/server/deployment/src/test/java/io/quarkus/websockets/test/WebsocketRootPathTestCase.java b/extensions/websockets/server/deployment/src/test/java/io/quarkus/websockets/test/WebsocketRootPathTestCase.java index a0c823eb99fc9c..502cfe3a7dce28 100644 --- a/extensions/websockets/server/deployment/src/test/java/io/quarkus/websockets/test/WebsocketRootPathTestCase.java +++ b/extensions/websockets/server/deployment/src/test/java/io/quarkus/websockets/test/WebsocketRootPathTestCase.java @@ -1,6 +1,9 @@ package io.quarkus.websockets.test; +import java.io.IOException; import java.net.URI; +import java.nio.ByteBuffer; +import java.nio.charset.StandardCharsets; import java.util.concurrent.LinkedBlockingDeque; import java.util.concurrent.TimeUnit; @@ -9,6 +12,7 @@ import jakarta.websocket.Endpoint; import jakarta.websocket.EndpointConfig; import jakarta.websocket.MessageHandler; +import jakarta.websocket.PongMessage; import jakarta.websocket.Session; import org.jboss.shrinkwrap.api.asset.StringAsset; @@ -38,6 +42,7 @@ public class WebsocketRootPathTestCase { public void testHttpRootPath() throws Exception { LinkedBlockingDeque message = new LinkedBlockingDeque<>(); + LinkedBlockingDeque pongMessages = new LinkedBlockingDeque<>(); Session session = ContainerProvider.getWebSocketContainer().connectToServer(new Endpoint() { @Override public void onOpen(Session session, EndpointConfig endpointConfig) { @@ -47,12 +52,28 @@ public void onMessage(String s) { message.add(s); } }); + session.addMessageHandler(new MessageHandler.Whole() { + @Override + public void onMessage(PongMessage s) { + ByteBuffer data = s.getApplicationData(); + byte[] copy = new byte[data.remaining()]; + data.get(copy); + pongMessages.add(new String(copy, StandardCharsets.UTF_8)); + } + }); session.getAsyncRemote().sendText("hello"); + try { + session.getAsyncRemote().sendPing(ByteBuffer.wrap("PING".getBytes(StandardCharsets.UTF_8))); + } catch (IOException e) { + throw new RuntimeException(e); + } } }, ClientEndpointConfig.Builder.create().build(), echoUri); try { Assertions.assertEquals("hello", message.poll(20, TimeUnit.SECONDS)); + + Assertions.assertEquals("PING", pongMessages.poll(20, TimeUnit.SECONDS)); } finally { session.close(); } diff --git a/integration-tests/flyway/src/main/java/io/quarkus/it/flyway/AppEntity.java b/integration-tests/flyway/src/main/java/io/quarkus/it/flyway/AppEntity.java index 36853f22d76d20..84626be8bee865 100644 --- a/integration-tests/flyway/src/main/java/io/quarkus/it/flyway/AppEntity.java +++ b/integration-tests/flyway/src/main/java/io/quarkus/it/flyway/AppEntity.java @@ -44,6 +44,17 @@ public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } + public String foo; + + public String getFoo() { + return foo; + } + + public AppEntity setFoo(String foo) { + this.foo = foo; + return this; + } + @Override public boolean equals(final Object o) { if (this == o) diff --git a/integration-tests/flyway/src/main/resources/application.properties b/integration-tests/flyway/src/main/resources/application.properties index 01118fbc3f0ccd..f26c6125ec643c 100644 --- a/integration-tests/flyway/src/main/resources/application.properties +++ b/integration-tests/flyway/src/main/resources/application.properties @@ -23,7 +23,7 @@ quarkus.flyway.placeholders.title=REPLACED quarkus.flyway.placeholder-prefix=#[ quarkus.flyway.placeholder-suffix=] quarkus.flyway.init-sql=CREATE SCHEMA IF NOT EXISTS TEST_SCHEMA;CREATE OR REPLACE FUNCTION f_my_constant() RETURNS integer LANGUAGE plpgsql as $func$ BEGIN return 100; END $func$; -quarkus.hibernate-orm.database.generation=validate + # second Agroal config quarkus.datasource.second-datasource.db-kind=postgresql