dont display t.Log/t.Logf as errors in github actions (#1508)
* fix tests and github action annotations Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
		| @@ -1,6 +1,7 @@ | ||||
| package selector | ||||
|  | ||||
| import ( | ||||
| 	"os" | ||||
| 	"testing" | ||||
|  | ||||
| 	"github.com/micro/go-micro/v2/registry/memory" | ||||
| @@ -25,5 +26,7 @@ func TestRegistrySelector(t *testing.T) { | ||||
| 		counts[node.Id]++ | ||||
| 	} | ||||
|  | ||||
| 	t.Logf("Selector Counts %v", counts) | ||||
| 	if len(os.Getenv("IN_TRAVIS_CI")) == 0 { | ||||
| 		t.Logf("Selector Counts %v", counts) | ||||
| 	} | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user