aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/app_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/app/app_test.go')
-rw-r--r--dashboard/app/app_test.go40
1 files changed, 40 insertions, 0 deletions
diff --git a/dashboard/app/app_test.go b/dashboard/app/app_test.go
index d4c9f765f..96861dfa5 100644
--- a/dashboard/app/app_test.go
+++ b/dashboard/app/app_test.go
@@ -631,6 +631,44 @@ var testConfig = &GlobalConfig{
},
},
},
+ "skip-stage": {
+ AccessLevel: AccessPublic,
+ Key: "publickeypublickeypublickey",
+ Clients: map[string]string{
+ clientSkipStage: keySkipStage,
+ },
+ Repos: []KernelRepo{
+ {
+ URL: "git://syzkaller.org/access-public.git",
+ Branch: "access-public",
+ Alias: "access-public",
+ },
+ },
+ Reporting: []Reporting{
+ {
+ Name: "reporting1",
+ DailyLimit: 1000,
+ Config: &TestConfig{Index: 1},
+ Embargo: 4 * 24 * time.Hour,
+ },
+ {
+ Name: "reporting2",
+ DailyLimit: 1000,
+ Config: &TestConfig{Index: 2},
+ Filter: func(bug *Bug) FilterResult {
+ if bug.manuallyUpstreamed("reporting1") {
+ return FilterSkip
+ }
+ return FilterReport
+ },
+ },
+ {
+ Name: "reporting3",
+ DailyLimit: 1000,
+ Config: &TestConfig{Index: 3},
+ },
+ },
+ },
},
}
@@ -683,6 +721,8 @@ const (
keyTreeTests = "keyTreeTestskeyTreeTestskeyTreeTests"
clientAI = "client-ai"
keyAI = "clientaikeyclientaikeyclientaikey"
+ clientSkipStage = "client-skip-stage"
+ keySkipStage = "skipstagekeyskipstagekeyskipstagekey"
restrictedManager = "restricted-manager"
noFixBisectionManager = "no-fix-bisection-manager"