Skip to content

Commit c5aff4a

Browse files
Update HttpTimeoutTest to expect 504 instead of 500 status code (#2958)
1 parent 37eff25 commit c5aff4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/test/java/com/predic8/membrane/core/transport/http/HttpTimeoutTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ void httpTimeout() throws Exception {
106106
Exchange exc = get("http://localhost:3023").buildExchange();
107107
client.call(exc);
108108

109-
assertEquals(500, exc.getResponse().getStatusCode());
109+
assertEquals(504, exc.getResponse().getStatusCode());
110110
}
111111

112112
watch.stop();

0 commit comments

Comments
 (0)