Skip to content

Commit 3a3b014

Browse files
committed
Merge branch 'beta-12.5' into dev-proxy2
2 parents 5058f4f + 242f809 commit 3a3b014

4 files changed

Lines changed: 60 additions & 15 deletions

File tree

.github/workflows/beta-tag.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Beta
22
on:
33
push:
44
tags:
5-
- v12.1.beta.*
5+
- v*.beta.*
6+
- v*.RC.*
67
env:
78
TAG: ${{ github.ref_name }}
89
jobs:
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Java CI with Maven with custom Java-lib
2+
3+
on:
4+
push:
5+
branches: ["**"]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
java: ["11"]
13+
# java: ["11", "16", "17"]
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
name: Checkout Java-lib Repository
18+
with:
19+
ref: dev-proxy2
20+
repository: wavefrontHQ/java-lib
21+
- name: Build Java-lib
22+
run: mvn --batch-mode install
23+
- uses: actions/checkout@v3
24+
- name: Set up JDK
25+
uses: actions/setup-java@v2
26+
with:
27+
java-version: ${{ matrix.java }}
28+
distribution: "temurin"
29+
cache: maven
30+
- name: Check code format
31+
run: mvn -f proxy git-code-format:validate-code-format
32+
- name: Build with Maven
33+
run: mvn -f proxy test -B

proxy/pom.xml

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,21 @@
105105
</executions>
106106
</plugin>
107107
<plugin>
108+
<groupId>org.apache.maven.plugins</groupId>
109+
<artifactId>maven-surefire-plugin</artifactId>
110+
<version>3.0.0-M7</version>
111+
<configuration>
112+
<redirectTestOutputToFile>true</redirectTestOutputToFile>
113+
</configuration>
114+
<dependencies>
115+
<dependency>
116+
<groupId>org.apache.maven.surefire</groupId>
117+
<artifactId>surefire-junit47</artifactId>
118+
<version>3.0.0-M7</version>
119+
</dependency>
120+
</dependencies>
121+
</plugin>
122+
<!-- <plugin>
108123
<groupId>org.apache.maven.plugins</groupId>
109124
<artifactId>maven-surefire-plugin</artifactId>
110125
<version>3.0.0-M5</version>
@@ -114,18 +129,14 @@
114129
<argLine>${jacocoArgLine} -Xmx512m -Duser.country=US</argLine>
115130
<rerunFailingTestsCount>3</rerunFailingTestsCount>
116131
<systemProperties>
117-
<property>
118-
<name>java.util.logging.manager</name>
119-
<value>org.apache.logging.log4j.jul.LogManager</value>
120-
</property>
121132
<property>
122133
<name>log4j.configurationFile</name>
123134
<value>src/test/resources/log4j2-dev.xml</value>
124135
</property>
125136
</systemProperties>
126137
</configuration>
127-
</plugin>
128-
<plugin>
138+
</plugin> -->
139+
<!-- <plugin>
129140
<groupId>org.jacoco</groupId>
130141
<artifactId>jacoco-maven-plugin</artifactId>
131142
<version>0.8.3</version>
@@ -224,7 +235,7 @@
224235
</configuration>
225236
</execution>
226237
</executions>
227-
</plugin>
238+
</plugin> -->
228239

229240
<plugin>
230241
<groupId>org.springframework.boot</groupId>
@@ -316,12 +327,6 @@
316327
<artifactId>joda-time</artifactId>
317328
<version>2.10.14</version>
318329
</dependency>
319-
<dependency>
320-
<groupId>junit</groupId>
321-
<artifactId>junit</artifactId>
322-
<version>4.13.2</version>
323-
<scope>test</scope>
324-
</dependency>
325330
<dependency>
326331
<groupId>org.apache.commons</groupId>
327332
<artifactId>commons-compress</artifactId>
@@ -378,6 +383,12 @@
378383
</dependencyManagement>
379384

380385
<dependencies>
386+
<dependency>
387+
<groupId>junit</groupId>
388+
<artifactId>junit</artifactId>
389+
<version>4.13.2</version>
390+
<scope>test</scope>
391+
</dependency>
381392
<dependency>
382393
<groupId>org.apache.logging.log4j</groupId>
383394
<artifactId>log4j-core</artifactId>

proxy/src/test/java/com/wavefront/agent/HttpEndToEndTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
public class HttpEndToEndTest {
4444
private static final Logger logger = LoggerFactory.getLogger("test");
4545

46-
public static int HTTP_timeout_tests = 1000;
46+
public static int HTTP_timeout_tests = 10000;
4747

4848
private static PushAgent proxy;
4949
private static MutableFunc<FullHttpRequest, HttpResponse> server = new MutableFunc<>(x -> null);

0 commit comments

Comments
 (0)