diff --git a/pipeline/backend/docker/convert_test.go b/pipeline/backend/docker/convert_test.go index 874d477db..91e039719 100644 --- a/pipeline/backend/docker/convert_test.go +++ b/pipeline/backend/docker/convert_test.go @@ -16,6 +16,7 @@ package docker import ( "reflect" + "sort" "testing" "github.com/docker/docker/api/types" @@ -102,6 +103,7 @@ func TestToConfigSmall(t *testing.T) { }) assert.NotNil(t, conf) + sort.Strings(conf.Env) assert.EqualValues(t, &container.Config{ AttachStdout: true, AttachStderr: true,