From 8e4ae198377377988e36447342c8ba9ed01d793d Mon Sep 17 00:00:00 2001 From: yux0 Date: Fri, 28 Jan 2022 13:13:36 -0800 Subject: [PATCH] Integration test: retry with empty task response --- host/taskpoller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/taskpoller.go b/host/taskpoller.go index ed21ac9ba31..25d4c8dbdc6 100644 --- a/host/taskpoller.go +++ b/host/taskpoller.go @@ -372,7 +372,7 @@ retry: if response == nil || len(response.TaskToken) == 0 { p.Logger.Info("Empty Activity task: Polling again") - return nil + continue retry } if dropTask {