Skip to content

Commit

Permalink
acceptance: unskip test_missing_log_output with fix
Browse files Browse the repository at this point in the history
Previously, this test would pass infrequently due to a failed
interrupt in the script. This change adds a second interrupt to ensure
that the cockroach process has shut down.

The second interrupt is necessary in order to force the override of
graceful shutdown and terminate the node. Other parts of the test
using `start_server` and `stop_server` have their own shutdown code.

Resolves: cockroachdb#107122
Epic: None
Release note: None
  • Loading branch information
dhartunian committed Aug 7, 2023
1 parent 79a09a2 commit c78dacd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions pkg/acceptance/generated_cli_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#! /usr/bin/env expect -f

# disabled until #107122 is resolved.

source [file join [file dirname $argv0] common.tcl]

spawn /bin/bash
Expand Down Expand Up @@ -71,6 +69,7 @@ end_test

# Stop it.
interrupt
interrupt
eexpect ":/# "

start_test "Check that --logtostderr can override the threshold but no error is printed on startup"
Expand All @@ -80,6 +79,7 @@ end_test

# Stop it.
interrupt
interrupt
eexpect ":/# "

start_test "Check that panic reports are printed to the log even when --logtostderr is specified"
Expand Down

0 comments on commit c78dacd

Please sign in to comment.