Skip to content

Commit 8b0fada

Browse files
committed
adding logs and fail-fast = false
1 parent 406366b commit 8b0fada

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
name: Run test cases (with consul${{ matrix.consul-ent-tag }})
1616
runs-on: ${{ matrix.os }}
1717
strategy:
18+
fail-fast: false
1819
matrix:
1920
os: [ubuntu-latest]
2021
go: [^1]

watch/watch_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func TestMain(m *testing.M) {
3434

3535
// sub-main so I can use defer
3636
func main(m *testing.M) int {
37-
log.SetOutput(io.Discard)
37+
log.SetOutput(os.Stdout)
3838
testVault = newTestVault()
3939
defer func() { testVault.Stop() }()
4040

@@ -70,11 +70,11 @@ func newTestVault() *vaultServer {
7070
}
7171
args := []string{
7272
"server", "-dev", "-dev-root-token-id", vaultToken,
73-
"-dev-no-store-token",
73+
"-dev-no-store-token", "-log-level", "debug",
7474
}
7575
cmd := exec.Command("vault", args...)
76-
cmd.Stdout = io.Discard
77-
cmd.Stderr = io.Discard
76+
cmd.Stdout = os.Stdout
77+
cmd.Stderr = os.Stdout
7878

7979
if err := cmd.Start(); err != nil {
8080
panic("vault failed to start: " + err.Error())

0 commit comments

Comments
 (0)