@@ -71,7 +71,8 @@ func GetNonCompletedWorkflows(ctx context.Context, info ScenarioInfo, searchAttr
7171 runID ,
7272 )
7373
74- info .Logger .Infof ("Using visibility query for non-completed workflows: %q" , nonCompletedQuery )
74+ info .Logger .Infof ("Visibility query for non-completed workflows - CLI command: temporal workflow list --namespace %s --query %q" ,
75+ info .Namespace , nonCompletedQuery )
7576
7677 resp , err := info .Client .ListWorkflow (ctx , & workflowservice.ListWorkflowExecutionsRequest {
7778 Namespace : info .Namespace ,
@@ -110,7 +111,8 @@ func VerifyNoFailedWorkflows(ctx context.Context, info ScenarioInfo, searchAttri
110111 statusQuery := fmt .Sprintf (
111112 "%s='%s' and ExecutionStatus = '%s'" ,
112113 searchAttribute , runID , status )
113- info .Logger .Infof ("Using visibility query for %s workflows: %q" , status .String (), statusQuery )
114+ info .Logger .Infof ("Visibility query for %s workflows - CLI command: temporal workflow count --namespace %s --query %q" ,
115+ status .String (), info .Namespace , statusQuery )
114116 visibilityCount , err := info .Client .CountWorkflow (ctx , & workflowservice.CountWorkflowExecutionsRequest {
115117 Namespace : info .Namespace ,
116118 Query : statusQuery ,
0 commit comments