Update Gin and testcontainers to latest version

This commit is contained in:
2021-11-30 16:07:31 +01:00
parent 8b5cccd744
commit def2b0f2f0
3 changed files with 331 additions and 28 deletions

View File

@ -38,10 +38,10 @@ func buildContainer() testcontainers.ContainerRequest {
ExposedPorts: []string{"8000:8000", "8001:8001"},
WaitingFor: wait.ForLog("Starting TLS server listening on :8001"),
BindMounts: map[string]string{
filepath.Join(dirname, "/../test/GeoIP2-City-Test.mmdb"): "/tmp/GeoIP2-City-Test.mmdb",
filepath.Join(dirname, "/../test/GeoLite2-ASN-Test.mmdb"): "/tmp/GeoLite2-ASN-Test.mmdb",
filepath.Join(dirname, "/../test/server.pem"): "/tmp/server.pem",
filepath.Join(dirname, "/../test/server.key"): "/tmp/server.key",
"/tmp/GeoIP2-City-Test.mmdb": filepath.Join(dirname, "/../test/GeoIP2-City-Test.mmdb"),
"/tmp/GeoLite2-ASN-Test.mmdb": filepath.Join(dirname, "/../test/GeoLite2-ASN-Test.mmdb"),
"/tmp/server.pem": filepath.Join(dirname, "/../test/server.pem"),
"/tmp/server.key": filepath.Join(dirname, "/../test/server.key"),
},
}