Skip to content

Commit 1bd1bbe

Browse files
authored
Fixing some test issues (#129295) (#129504)
(cherry picked from commit e437163)
1 parent 0113aef commit 1bd1bbe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

x-pack/test/smb-fixture/src/main/java/org/elasticsearch/test/fixtures/smb/SmbTestContainer.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ public SmbTestContainer() {
2727
new ImageFromDockerfile("es-smb-fixture").withDockerfileFromBuilder(
2828
builder -> builder.from(DOCKER_BASE_IMAGE)
2929
.env("TZ", "Etc/UTC")
30-
.run("DEBIAN_FRONTEND=noninteractive apt-get update -qqy && apt-get install -qqy tzdata winbind samba ldap-utils")
30+
.run(
31+
"DEBIAN_FRONTEND=noninteractive apt-get -o Acquire::Retries=10 update -qqy && apt-get install -qqy tzdata"
32+
+ " winbind samba ldap-utils "
33+
)
3134
.copy("fixture/provision/installsmb.sh", "/fixture/provision/installsmb.sh")
3235
.copy("fixture/certs/ca.key", "/fixture/certs/ca.key")
3336
.copy("fixture/certs/ca.pem", "/fixture/certs/ca.pem")

0 commit comments

Comments
 (0)