diff --git a/restlight-integration-test/springmvc-test/src/main/java/io/esastack/restlight/integration/springmvc/test/AwareTest.java b/restlight-integration-test/springmvc-test/src/main/java/io/esastack/restlight/integration/springmvc/test/AwareTest.java index cc6ff7ff..99f4450f 100644 --- a/restlight-integration-test/springmvc-test/src/main/java/io/esastack/restlight/integration/springmvc/test/AwareTest.java +++ b/restlight-integration-test/springmvc-test/src/main/java/io/esastack/restlight/integration/springmvc/test/AwareTest.java @@ -14,7 +14,6 @@ package io.esastack.restlight.integration.springmvc.test; import io.esastack.restclient.RestResponseBase; -import io.netty.channel.nio.NioEventLoopGroup; import org.junit.Assert; import org.junit.Test; @@ -33,7 +32,7 @@ public void testBizAware() throws Exception { public void testIoAware() throws Exception { RestResponseBase response = restClient.get(domain + "/aware/get/io").execute() .toCompletableFuture().get(); - Assert.assertEquals(NioEventLoopGroup.class.getName(), response.bodyToEntity(String.class)); + Assert.assertTrue(response.bodyToEntity(String.class).contains("EventLoopGroup")); } @Test