Skip to content

Commit

Permalink
OF-2611: Adjust S2S Unit tests for OF-2626 (Dialback race)
Browse files Browse the repository at this point in the history
  • Loading branch information
guusdk committed Jul 12, 2023
1 parent 6f925e0 commit 49f3a46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import org.jivesoftware.openfire.spi.ConnectionType;
import org.jivesoftware.util.JiveGlobals;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.jupiter.params.ParameterizedTest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ public void run()
System.out.println(read);
System.out.println();

if (read.startsWith("<stream:error ") && read.endsWith("</stream:stream>")) {
if (read.startsWith("<stream:error ")) {
System.out.println("Peer sends a stream error. Can't use this connection anymore.");
return;
}
Expand Down

0 comments on commit 49f3a46

Please sign in to comment.