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

Remove 'extended' mode #884

Merged
merged 1 commit into from
Sep 17, 2019
Merged
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
19 changes: 1 addition & 18 deletions pkg/client/mode.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,16 @@ type Mode string
const (
// Quick runs a single E2E test and the systemd log tests.
Quick Mode = "Quick"

// Conformance runs all of the E2E tests and the systemd log tests.
Conformance Mode = "Conformance"
// Extended run all of the E2E tests, the systemd log tests, and
// Heptio's E2E Tests.
Extended Mode = "Extended"
)

const defaultSkipList = `Alpha|\[(Disruptive|Feature:[^\]]+|Flaky)\]`

var modeMap = map[string]Mode{
string(Conformance): Conformance,
string(Quick): Quick,
// Removing until the extended tests are open sourced
// string(Extended): Extended,
}

// ModeConfig represents the sonobuoy configuration for a given mode.
Expand Down Expand Up @@ -101,19 +97,6 @@ func (m *Mode) Get() *ModeConfig {
{Name: "e2e"},
},
}
case Extended:
return &ModeConfig{
E2EConfig: E2EConfig{
Focus: `\[Conformance\]`,
Skip: defaultSkipList,
Parallel: "1",
},
Selectors: []plugin.Selection{
{Name: "e2e"},
{Name: "systemd-logs"},
{Name: "heptio-e2e"},
},
}
default:
return nil
}
Expand Down