Fix: replace vmess grpc test image

This commit is contained in:
gVisor bot 2021-10-16 20:35:06 +08:00
parent 1b7ad8f494
commit 237fc5f785

View File

@ -304,13 +304,13 @@ func TestClash_VmessWebsocketTLS(t *testing.T) {
func TestClash_VmessGrpc(t *testing.T) { func TestClash_VmessGrpc(t *testing.T) {
cfg := &container.Config{ cfg := &container.Config{
Image: ImageXray, Image: ImageVmess,
ExposedPorts: defaultExposedPorts, ExposedPorts: defaultExposedPorts,
} }
hostCfg := &container.HostConfig{ hostCfg := &container.HostConfig{
PortBindings: defaultPortBindings, PortBindings: defaultPortBindings,
Binds: []string{ Binds: []string{
fmt.Sprintf("%s:/etc/xray/config.json", C.Path.Resolve("vmess-grpc.json")), fmt.Sprintf("%s:/etc/v2ray/config.json", C.Path.Resolve("vmess-grpc.json")),
fmt.Sprintf("%s:/etc/ssl/v2ray/fullchain.pem", C.Path.Resolve("example.org.pem")), fmt.Sprintf("%s:/etc/ssl/v2ray/fullchain.pem", C.Path.Resolve("example.org.pem")),
fmt.Sprintf("%s:/etc/ssl/v2ray/privkey.pem", C.Path.Resolve("example.org-key.pem")), fmt.Sprintf("%s:/etc/ssl/v2ray/privkey.pem", C.Path.Resolve("example.org-key.pem")),
}, },