Skip to content

Commit fe10e97

Browse files
committed
try to debug tests
Signed-off-by: Slach <[email protected]>
1 parent 0b23917 commit fe10e97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/integration_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4120,15 +4120,15 @@ func (env *TestEnvironment) DockerCP(src, dst string) error {
41204120
}
41214121

41224122
func (env *TestEnvironment) InstallDebIfNotExists(r *require.Assertions, container string, pkgs ...string) {
4123-
err := env.DockerExec(
4123+
out, err := env.DockerExecOut(
41244124
container,
41254125
"bash", "-xec",
41264126
fmt.Sprintf(
41274127
"export DEBIAN_FRONTEND=noniteractive; if [[ '%d' != $(dpkg -l | grep -c -E \"%s\" ) ]]; then rm -fv /etc/apt/sources.list.d/clickhouse.list; find /etc/apt/ -type f -name *.list -exec sed -i 's/ru.archive.ubuntu.com/archive.ubuntu.com/g' {} +; apt-get -y update; apt-get install --no-install-recommends -y %s; fi",
41284128
len(pkgs), "^ii\\s+"+strings.Join(pkgs, "|^ii\\s+"), strings.Join(pkgs, " "),
41294129
),
41304130
)
4131-
r.NoError(err)
4131+
r.NoError(err, out)
41324132
}
41334133

41344134
func toDate(s string) time.Time {

0 commit comments

Comments
 (0)