From 3bce0137412e950cc61b33a82eaeae4aad528ead Mon Sep 17 00:00:00 2001 From: Ishan Arya Date: Tue, 9 Jul 2024 12:46:33 +0530 Subject: [PATCH] test: fix command --- test/e2e_test/testbench/spicedb.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e_test/testbench/spicedb.go b/test/e2e_test/testbench/spicedb.go index 550841e2c..80e85b250 100644 --- a/test/e2e_test/testbench/spicedb.go +++ b/test/e2e_test/testbench/spicedb.go @@ -16,7 +16,7 @@ func migrateSpiceDB(logger log.Logger, network *docker.Network, pool *dockertest resource, err := pool.RunWithOptions(&dockertest.RunOptions{ Repository: "authzed/spicedb", Tag: "v1.32.0", - Cmd: []string{"spicedb", "migrate", "head", "--datastore-engine", "postgres", "--datastore-conn-uri", pgConnString}, + Cmd: []string{"migrate", "head", "--datastore-engine", "postgres", "--datastore-conn-uri", pgConnString}, NetworkID: network.ID, }, func(config *docker.HostConfig) { config.RestartPolicy = docker.RestartPolicy{ @@ -69,7 +69,7 @@ func startSpiceDB(logger log.Logger, network *docker.Network, pool *dockertest.P res, err = pool.RunWithOptions(&dockertest.RunOptions{ Repository: "authzed/spicedb", Tag: "v1.32.0", - Cmd: []string{"spicedb", "serve", "--log-level", "debug", "--grpc-preshared-key", preSharedKey, "--grpc-no-tls", "--datastore-engine", "postgres", "--datastore-conn-uri", pgConnString}, + Cmd: []string{"serve", "--log-level", "debug", "--grpc-preshared-key", preSharedKey, "--grpc-no-tls", "--datastore-engine", "postgres", "--datastore-conn-uri", pgConnString}, ExposedPorts: []string{"50051/tcp"}, NetworkID: network.ID, }, func(config *docker.HostConfig) {