You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ch...@apache.org on 2026/04/29 06:47:40 UTC

(servicecomb-java-chassis) branch 3.3.x updated: fix ut with vertx update (#5109)

This is an automated email from the ASF dual-hosted git repository.

SweetWuXiaoMei pushed a commit to branch 3.3.x
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git


The following commit(s) were added to refs/heads/3.3.x by this push:
     new 21619395b fix ut with vertx update (#5109)
21619395b is described below

commit 21619395ba8e7cd0a9e4e82972b5b90100307496
Author: vikeria <vi...@126.com>
AuthorDate: Wed Apr 29 14:47:34 2026 +0800

    fix ut with vertx update (#5109)
---
 .../servicecomb/transport/rest/vertx/MockHttpServerResponse.java     | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/transports/transport-rest/transport-rest-vertx/src/test/java/org/apache/servicecomb/transport/rest/vertx/MockHttpServerResponse.java b/transports/transport-rest/transport-rest-vertx/src/test/java/org/apache/servicecomb/transport/rest/vertx/MockHttpServerResponse.java
index 568aab893..9d78aa676 100644
--- a/transports/transport-rest/transport-rest-vertx/src/test/java/org/apache/servicecomb/transport/rest/vertx/MockHttpServerResponse.java
+++ b/transports/transport-rest/transport-rest-vertx/src/test/java/org/apache/servicecomb/transport/rest/vertx/MockHttpServerResponse.java
@@ -195,6 +195,11 @@ class MockHttpServerResponse implements HttpServerResponse {
     return null;
   }
 
+  @Override
+  public Future<Void> writeHead() {
+    return Future.succeededFuture();
+  }
+
   @Override
   public Future<Void> write(String chunk, String enc) {
     return Future.succeededFuture();