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.go29
1 files changed, 29 insertions, 0 deletions
diff --git a/dashboard/app/app_test.go b/dashboard/app/app_test.go
index 693ca61ee..d4c9f765f 100644
--- a/dashboard/app/app_test.go
+++ b/dashboard/app/app_test.go
@@ -604,6 +604,33 @@ var testConfig = &GlobalConfig{
},
},
},
+ "ains": {
+ AI: true,
+ AccessLevel: AccessPublic,
+ Key: "publickeypublickeypublickey",
+ Clients: map[string]string{
+ clientAI: keyAI,
+ },
+ Repos: []KernelRepo{
+ {
+ URL: "git://syzkaller.org/test.git",
+ Branch: "main",
+ Alias: "main",
+ },
+ },
+ Reporting: []Reporting{
+ {
+ AccessLevel: AccessPublic,
+ Name: "ai-email-reporting",
+ DailyLimit: 1000,
+ Config: &EmailConfig{
+ Email: "test@syzkaller.com",
+ HandleListEmails: true,
+ SubjectPrefix: "[syzbot]",
+ },
+ },
+ },
+ },
},
}
@@ -654,6 +681,8 @@ const (
keySubsystemRemind = "keySubsystemRemindkeySubsystemRemind"
clientTreeTests = "clientTreeTestsclientTreeTests"
keyTreeTests = "keyTreeTestskeyTreeTestskeyTreeTests"
+ clientAI = "client-ai"
+ keyAI = "clientaikeyclientaikeyclientaikey"
restrictedManager = "restricted-manager"
noFixBisectionManager = "no-fix-bisection-manager"