1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-24 22:26:54 +02:00

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:
Vasiliy Tolstov
2020-04-09 14:05:46 +03:00
committed by GitHub
parent bc1c8223e6
commit 1063b954de
15 changed files with 118 additions and 41 deletions

View File

@ -1,6 +1,7 @@
package selector
import (
"os"
"testing"
"github.com/micro/go-micro/v2/registry"
@ -50,6 +51,8 @@ func TestStrategies(t *testing.T) {
counts[node.Id]++
}
t.Logf("%s: %+v\n", name, counts)
if len(os.Getenv("IN_TRAVIS_CI")) == 0 {
t.Logf("%s: %+v\n", name, counts)
}
}
}