Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CBG-4076 temporarily skip tests that can panic with integration tests #6968

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions rest/audit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ import (
)

func TestAuditInjectableHeader(t *testing.T) {
if !base.UnitTestUrlIsWalrus() {
t.Skip("This test can panic with gocb logging CBG-4076")
}
// get tempdir before resetting global loggers, since the logger cleanup needs to happen before deletion
tempdir := t.TempDir()
base.ResetGlobalTestLogging(t)
Expand Down
3 changes: 3 additions & 0 deletions rest/config_no_race_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ func TestBadCORSValuesConfig(t *testing.T) {

// TestAuditLoggingGlobals modifies all the global loggers
func TestAuditLoggingGlobals(t *testing.T) {
if !base.UnitTestUrlIsWalrus() {
t.Skip("This test can panic with gocb logging CBG-4076")
}
globalFields := map[string]any{
"global": "field",
"global2": "field2",
Expand Down
Loading