File tree Expand file tree Collapse file tree 6 files changed +29
-3
lines changed
src/test/java/org/apache/hc/client5/http/impl Expand file tree Collapse file tree 6 files changed +29
-3
lines changed Original file line number Diff line number Diff line change 4949 distribution : ' temurin'
5050 java-version : ${{ matrix.java }}
5151 - name : Build with Maven
52- run : ./mvnw -V --file pom.xml --no-transfer-progress -DtrimStackTrace=false -P-use-toolchains,docker
52+ run : ./mvnw -V --file pom.xml --no-transfer-progress -DtrimStackTrace=false -Djunit.jupiter.execution.parallel.enabled=false - P-use-toolchains,docker
Original file line number Diff line number Diff line change 8888 <artifactId >junit-jupiter</artifactId >
8989 <scope >test</scope >
9090 </dependency >
91+ <dependency >
92+ <groupId >org.junit.platform</groupId >
93+ <artifactId >junit-platform-launcher</artifactId >
94+ <scope >test</scope >
95+ </dependency >
9196 <dependency >
9297 <groupId >org.hamcrest</groupId >
9398 <artifactId >hamcrest</artifactId >
159164 </plugins >
160165 </reporting >
161166
162- </project >
167+ </project >
Original file line number Diff line number Diff line change 5757 <artifactId >conscrypt-openjdk-uber</artifactId >
5858 <optional >true</optional >
5959 </dependency >
60+ <dependency >
61+ <groupId >org.apache.httpcomponents.core5</groupId >
62+ <artifactId >httpcore5</artifactId >
63+ <classifier >tests</classifier >
64+ <scope >test</scope >
65+ </dependency >
6066 <dependency >
6167 <groupId >org.apache.httpcomponents.core5</groupId >
6268 <artifactId >httpcore5-reactive</artifactId >
8894 <artifactId >junit-jupiter</artifactId >
8995 <scope >test</scope >
9096 </dependency >
97+ <dependency >
98+ <groupId >org.junit.platform</groupId >
99+ <artifactId >junit-platform-launcher</artifactId >
100+ <scope >test</scope >
101+ </dependency >
91102 <dependency >
92103 <groupId >org.hamcrest</groupId >
93104 <artifactId >hamcrest</artifactId >
206217 </profile >
207218 </profiles >
208219
209- </project >
220+ </project >
Original file line number Diff line number Diff line change 2828
2929import org .junit .jupiter .api .Assertions ;
3030import org .junit .jupiter .api .Test ;
31+ import org .junit .jupiter .api .parallel .Isolated ;
3132
33+ @ Isolated
3234class ExecSupportTest {
3335
3436 @ Test
Original file line number Diff line number Diff line change 4040import org .apache .hc .client5 .http .protocol .HttpClientContext ;
4141import org .junit .jupiter .api .Assertions ;
4242import org .junit .jupiter .api .Test ;
43+ import org .junit .jupiter .api .parallel .Isolated ;
4344import org .mockito .ArgumentMatchers ;
4445import org .mockito .Mockito ;
4546
4647/**
4748 * Simple tests for {@link SystemDefaultCredentialsProvider}.
4849 */
50+ @ Isolated
4951class TestSystemDefaultCredentialsProvider {
5052
5153 private final static String PROXY_PROTOCOL1 = "http" ;
Original file line number Diff line number Diff line change 9494 <artifactId >httpcore5</artifactId >
9595 <version >${httpcore.version} </version >
9696 </dependency >
97+ <dependency >
98+ <groupId >org.apache.httpcomponents.core5</groupId >
99+ <artifactId >httpcore5</artifactId >
100+ <version >${httpcore.version} </version >
101+ <classifier >tests</classifier >
102+ </dependency >
97103 <dependency >
98104 <groupId >org.apache.httpcomponents.core5</groupId >
99105 <artifactId >httpcore5-h2</artifactId >
You can’t perform that action at this time.
0 commit comments