Build: Fix Redis/Memcached integration tests (#64298)
* Build: Fix integration cache tests * Allow REDIS_URL with scheme * Reduce cache integration tests timeout to 5m * Apply suggestion from code review * Run redis/memcached integration tests in OSS pipelines * Change redis image
This commit is contained in:
@@ -1144,7 +1144,7 @@ def redis_integration_tests_step():
|
||||
"commands": [
|
||||
"dockerize -wait tcp://redis:6379/0 -timeout 120s",
|
||||
"go clean -testcache",
|
||||
"go list './pkg/...' | xargs -I {} sh -c 'go test -run Integration -covermode=atomic -timeout=5m {}'",
|
||||
"go test -run IntegrationRedis -covermode=atomic -timeout=2m ./pkg/...",
|
||||
],
|
||||
}
|
||||
|
||||
@@ -1159,7 +1159,7 @@ def memcached_integration_tests_step():
|
||||
"commands": [
|
||||
"dockerize -wait tcp://memcached:11211 -timeout 120s",
|
||||
"go clean -testcache",
|
||||
"go list './pkg/...' | xargs -I {} sh -c 'go test -run Integration -covermode=atomic -timeout=5m {}'",
|
||||
"go test -run IntegrationMemcached -covermode=atomic -timeout=2m ./pkg/...",
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user