From 9fc638dff097e17906e4792e081bccad839bce73 Mon Sep 17 00:00:00 2001 From: Kevin Su Date: Sat, 19 Aug 2023 23:45:18 -0700 Subject: [PATCH] nit Signed-off-by: Kevin Su --- go/tasks/plugins/webapi/agent/integration_test.go | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/go/tasks/plugins/webapi/agent/integration_test.go b/go/tasks/plugins/webapi/agent/integration_test.go index 9dda3af0c..f66c5f733 100644 --- a/go/tasks/plugins/webapi/agent/integration_test.go +++ b/go/tasks/plugins/webapi/agent/integration_test.go @@ -116,16 +116,11 @@ func TestEndToEnd(t *testing.T) { phase := tests.RunPluginEndToEndTest(t, plugin, &template, inputs, nil, nil, iter) assert.Equal(t, true, phase.Phase().IsSuccess()) - }) - - t.Run("run a job that produces file output", func(t *testing.T) { - pluginEntry := pluginmachinery.CreateRemotePlugin(newMockAgentPlugin()) - plugin, err := pluginEntry.LoadPlugin(context.TODO(), newFakeSetupContext("test2")) - assert.NoError(t, err) template.Type = "spark_job" - phase := tests.RunPluginEndToEndTest(t, plugin, &template, inputs, nil, nil, iter) + phase = tests.RunPluginEndToEndTest(t, plugin, &template, inputs, nil, nil, iter) assert.Equal(t, true, phase.Phase().IsSuccess()) + }) t.Run("failed to create a job", func(t *testing.T) {