This is an automated email from the ASF dual-hosted git repository.

lostluck pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new ddd74c68138 Use direct runner to avoid  logging flake. (#28271)
ddd74c68138 is described below

commit ddd74c68138c3496a2a0ff6da8af6a9a72ede3c1
Author: Robert Burke <[email protected]>
AuthorDate: Thu Aug 31 13:35:56 2023 -0700

    Use direct runner to avoid  logging flake. (#28271)
    
    Co-authored-by: lostluck <[email protected]>
---
 sdks/go/pkg/beam/x/debug/head_test.go | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sdks/go/pkg/beam/x/debug/head_test.go 
b/sdks/go/pkg/beam/x/debug/head_test.go
index 5903768d9f7..4e3db1e1e39 100644
--- a/sdks/go/pkg/beam/x/debug/head_test.go
+++ b/sdks/go/pkg/beam/x/debug/head_test.go
@@ -24,7 +24,9 @@ import (
 )
 
 func TestMain(m *testing.M) {
-       ptest.Main(m)
+       // Override with direct runner to avoid
+       // flaky race conditions over the logging services.
+       ptest.MainWithDefault(m, "direct")
 }
 
 func TestHead(t *testing.T) {

Reply via email to