Revert Server behaviour to what it was :
[nikiroo-utils.git] / src / be / nikiroo / utils / test / SerialTest.java
index e66bda8df9444b1706c71b1ec0e39b1a5c1ca0dd..e3171c211e2bc91e17a0b046a3c00b284758b536 100644 (file)
@@ -117,7 +117,7 @@ class SerialTest extends TestLauncher {
                                                        throws Exception {
                                                sent[0] = data;
                                                action.send("pong");
-                                               sent[1] = action.flush();
+                                               sent[1] = action.rec();
                                                return "pong2";
                                        }