From 617e4811dfc6fedd43c36b369ccfbe10083dc8e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20G=C3=B3mez?= Date: Wed, 1 Nov 2023 18:57:46 +0100 Subject: [PATCH] Remove duplicated ouputWriter mock (#4342) Signed-off-by: Andres Gomez Ferrer --- flyteplugins/tests/end_to_end.go | 1 - 1 file changed, 1 deletion(-) diff --git a/flyteplugins/tests/end_to_end.go b/flyteplugins/tests/end_to_end.go index 8fad552b57..603b4d3a30 100644 --- a/flyteplugins/tests/end_to_end.go +++ b/flyteplugins/tests/end_to_end.go @@ -82,7 +82,6 @@ func RunPluginEndToEndTest(t *testing.T, executor pluginCore.Plugin, template *i outputWriter.OnGetOutputPath().Return(basePrefix + "/outputs.pb") outputWriter.OnGetCheckpointPrefix().Return("/checkpoint") outputWriter.OnGetPreviousCheckpointsPrefix().Return("/prev") - outputWriter.OnPutMatch(mock.Anything, mock.Anything).Return(nil) outputWriter.OnPutMatch(mock.Anything, mock.Anything).Return(nil).Run(func(args mock.Arguments) { or := args.Get(1).(io.OutputReader)