From 0b5455f4641c0cd0154c99ab09446e7def306932 Mon Sep 17 00:00:00 2001 From: Mrproliu <741550557@qq.com> Date: Tue, 17 Oct 2023 19:53:08 +0800 Subject: [PATCH] fix test --- .../java/zipkin/server/receiver/zipkin/http/ITHTTPReceiver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipkin-server/receiver-zipkin-http/src/test/java/zipkin/server/receiver/zipkin/http/ITHTTPReceiver.java b/zipkin-server/receiver-zipkin-http/src/test/java/zipkin/server/receiver/zipkin/http/ITHTTPReceiver.java index 0d72caaee4e..a6ef6ec0e95 100644 --- a/zipkin-server/receiver-zipkin-http/src/test/java/zipkin/server/receiver/zipkin/http/ITHTTPReceiver.java +++ b/zipkin-server/receiver-zipkin-http/src/test/java/zipkin/server/receiver/zipkin/http/ITHTTPReceiver.java @@ -102,7 +102,7 @@ public void test() throws Exception { } int responseCode = connection.getResponseCode(); - if (responseCode != HttpURLConnection.HTTP_ACCEPTED) { // success + if (responseCode != HttpURLConnection.HTTP_OK) { // success BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream())); String inputLine; StringBuffer response = new StringBuffer();