From 656e9e7f01bb58f47058e985702e9f2690c9e9ec Mon Sep 17 00:00:00 2001 From: Rafael Raposo Date: Thu, 14 Nov 2024 09:30:44 +0100 Subject: [PATCH] fix Signed-off-by: Rafael Raposo --- flyteplugins/go/tasks/plugins/webapi/agent/plugin_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/flyteplugins/go/tasks/plugins/webapi/agent/plugin_test.go b/flyteplugins/go/tasks/plugins/webapi/agent/plugin_test.go index ad3ecad408..7ef1370e01 100644 --- a/flyteplugins/go/tasks/plugins/webapi/agent/plugin_test.go +++ b/flyteplugins/go/tasks/plugins/webapi/agent/plugin_test.go @@ -266,11 +266,10 @@ func TestPlugin(t *testing.T) { taskContext.On("Resource").Return(ResourceWrapper{ Phase: flyteIdlCore.TaskExecution_FAILED, Outputs: nil, - Message: "", + Message: "boom", LogLinks: []*flyteIdlCore.TaskLog{{Uri: "http://localhost:3000/log", Name: "Log Link"}}, AgentError: &admin.AgentError{ - Code: "ERROR: 500", - Message: "boom", + Code: "ERROR: 500", }, })