mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Merge pull request #51420 from AkihiroSuda/revert-5417
integration: increase timeout; gha/vm: update Lima to v2.0.2
This commit is contained in:
2
.github/workflows/.vm.yml
vendored
2
.github/workflows/.vm.yml
vendored
@@ -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
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user