mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-06 17:40:58 +00:00
Merge pull request 'fix(tests): binds are not sorted' (#97) from earl-warren/act:wip-test into main
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/97 Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
This commit is contained in:
commit
0e99df94b7
1 changed files with 2 additions and 2 deletions
|
@ -258,13 +258,13 @@ func TestMergeJobOptions(t *testing.T) {
|
|||
}{
|
||||
{
|
||||
name: "ok",
|
||||
options: "--volume /foo:/bar --volume /frob:/nitz --volume somevolume --tmpfs /tmp:exec,noatime --hostname alternatehost",
|
||||
options: "--volume /frob:/nitz --volume somevolume --tmpfs /tmp:exec,noatime --hostname alternatehost",
|
||||
config: &container.Config{
|
||||
Volumes: map[string]struct{}{"somevolume": {}},
|
||||
Hostname: "alternatehost",
|
||||
},
|
||||
hostConfig: &container.HostConfig{
|
||||
Binds: []string{"/foo:/bar", "/frob:/nitz"},
|
||||
Binds: []string{"/frob:/nitz"},
|
||||
Tmpfs: map[string]string{"/tmp": "exec,noatime"},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue