Skip to content

Commit b6576fb

Browse files
committed
Test compression defaults against 8.5.24 as they changed in 8.5.27
See gh-11727
1 parent de6c406 commit b6576fb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

spring-boot/src/test/java/org/springframework/boot/context/embedded/CompressionTests.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2017 the original author or authors.
2+
* Copyright 2012-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -18,6 +18,10 @@
1818

1919
import org.apache.coyote.http11.Http11NioProtocol;
2020
import org.junit.Test;
21+
import org.junit.runner.RunWith;
22+
23+
import org.springframework.boot.junit.runner.classpath.ClassPathOverrides;
24+
import org.springframework.boot.junit.runner.classpath.ModifiedClassPathRunner;
2125

2226
import static org.assertj.core.api.Assertions.assertThat;
2327

@@ -26,6 +30,8 @@
2630
*
2731
* @author Andy Wilkinson
2832
*/
33+
@RunWith(ModifiedClassPathRunner.class)
34+
@ClassPathOverrides("org.apache.tomcat.embed:tomcat-embed-core:8.5.24")
2935
public class CompressionTests {
3036

3137
@Test

0 commit comments

Comments
 (0)