Skip to content

Commit

Permalink
Fix ServerIntegratedBenchmark (#3748)
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraaga authored Mar 5, 2024
1 parent 922f5c7 commit 53a735d
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 7 deletions.
38 changes: 38 additions & 0 deletions benchmarks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,44 @@
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>

<!-- overrides from zipkin-server project are not picked up here so redefine -->
<!-- temporary until netty-4.1.108.Final -->
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative-boringssl-static</artifactId>
<version>2.0.63.Final</version>
<classifier>linux-x86_64</classifier>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative-boringssl-static</artifactId>
<version>2.0.63.Final</version>
<classifier>linux-aarch_64</classifier>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative-boringssl-static</artifactId>
<version>2.0.63.Final</version>
<classifier>osx-x86_64</classifier>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative-boringssl-static</artifactId>
<version>2.0.63.Final</version>
<classifier>osx-aarch_64</classifier>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative-boringssl-static</artifactId>
<version>2.0.63.Final</version>
<classifier>windows-x86_64</classifier>
<scope>runtime</scope>
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ GenericContainer<?> createZipkinContainer(@Nullable GenericContainer<?> storage)
.withNetworkAliases("zipkin")
.withExposedPorts(9411)
.withEnv(env)
.waitingFor(Wait.forHealthcheck());
.waitingFor(Wait.forHttp("/health"));
containers.add(zipkin);
return zipkin;
}
Expand Down
23 changes: 23 additions & 0 deletions benchmarks/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#
# Copyright 2015-2024 The OpenZipkin Authors
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
# or implied. See the License for the specific language governing permissions and limitations under
# the License.
#

status = error

appender.console.type = Console
appender.console.name = console
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] [%node_name]%marker %m%n

rootLogger.level = info
rootLogger.appenderRef.console.ref = console
6 changes: 0 additions & 6 deletions benchmarks/src/test/resources/simplelogger.properties

This file was deleted.

0 comments on commit 53a735d

Please sign in to comment.