INNER CODE UNIT · Go

TestCreateRuntimeClient_Unknown

alexei-led/pumba · cmd/main_test.go:179

func TestCreateRuntimeClient_Unknown(t *testing.T) {
	restoreFactories(t)

	ctx := newRuntimeTestContext(t, map[string]string{"runtime": "rkt"})

	client, err := createRuntimeClient(ctx)
	assert.Nil(t, client)
	require.Error(t, err)
	assert.Contains(t, err.Error(), "unsupported runtime: rkt")
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…