Merge pull request #51420 from AkihiroSuda/revert-5417

integration: increase timeout; gha/vm: update Lima to v2.0.2
This commit is contained in:
Sebastiaan van Stijn
2025-12-10 10:47:05 +01:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ jobs:
uses: lima-vm/lima-actions/setup@03b96d61959e83b2c737e44162c3088e81de0886 # v1.0.1
id: lima-actions-setup
with:
version: v1.2.2
version: v2.0.2
-
name: Cache ~/.cache/lima
uses: actions/cache@v4

View File

@@ -768,7 +768,7 @@ func TestCreateWithCustomMACs(t *testing.T) {
net.CreateNoError(ctx, t, apiClient, "testnet")
attachCtx, cancel := context.WithTimeout(ctx, 1*time.Second)
attachCtx, cancel := context.WithTimeout(ctx, 5*time.Second)
defer cancel()
res := testContainer.RunAttach(attachCtx, t, apiClient,
testContainer.WithCmd("ip", "-o", "link", "show"),

View File

@@ -40,7 +40,7 @@ func TestCreateWithMultiNetworks(t *testing.T) {
network.CreateNoError(ctx, t, apiClient, "testnet2")
defer network.RemoveNoError(ctx, t, apiClient, "testnet2")
attachCtx, cancel := context.WithTimeout(ctx, 1*time.Second)
attachCtx, cancel := context.WithTimeout(ctx, 5*time.Second)
defer cancel()
res := ctr.RunAttach(attachCtx, t, apiClient,
ctr.WithCmd("ip", "-o", "-4", "addr", "show"),

View File

@@ -392,7 +392,7 @@ func checkCtrRoutes(t *testing.T, ctx context.Context, apiClient client.APIClien
fam = "-6"
}
ctx, cancel := context.WithTimeout(ctx, 1*time.Second)
ctx, cancel := context.WithTimeout(ctx, 5*time.Second)
defer cancel()
res, err := container.Exec(ctx, apiClient, ctrID, []string{"ip", "-o", fam, "route", "show"})
assert.NilError(t, err)