File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
proxy/cosid-proxy/src/test/java/me/ahoo/cosid/proxy Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1515
1616import me .ahoo .cosid .proxy .api .MachineApi ;
1717import me .ahoo .cosid .proxy .api .SegmentApi ;
18- import org .junit .jupiter .api .BeforeAll ;
1918import org .junit .jupiter .api .Test ;
2019import org .springframework .web .client .RestClient ;
2120import org .springframework .web .client .support .RestClientAdapter ;
2726
2827public class ProxyServerLauncher {
2928
30- static final Network NETWORK_CONTAINER = Network .newNetwork ();
29+ static final Network NETWORK_CONTAINER = Network .builder (). id ( "cosid-proxy-network" ). build ();
3130 static final GenericContainer REDIS_CONTAINER ;
3231 static final GenericContainer COSID_PROXY_CONTAINER ;
3332 static final String COSID_PROXY_HOST ;
3433
3534 static {
36- REDIS_CONTAINER = new GenericContainer (DockerImageName .parse ("redis:latest " ))
35+ REDIS_CONTAINER = new GenericContainer (DockerImageName .parse ("redis:7.4.1 " ))
3736 .withNetwork (NETWORK_CONTAINER )
3837 .withNetworkAliases ("redis" )
3938 .withReuse (true );
You can’t perform that action at this time.
0 commit comments