File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -62,13 +62,21 @@ func TestLoadRuntimeConfigFromStorageBackend(t *testing.T) {
62
62
name : "runtime-config.file is a relative path" ,
63
63
flags : map [string ]string {
64
64
"-runtime-config.file" : runtimeConfigFile ,
65
+ // alert manager
66
+ "-alertmanager.web.external-url" : "http://localhost/alertmanager" ,
67
+ "-alertmanager-storage.backend" : "local" ,
68
+ "-alertmanager-storage.local.path" : filepath .Join (e2e .ContainerSharedDir , "alertmanager_configs" ),
65
69
},
66
70
workDir : e2e .ContainerSharedDir ,
67
71
},
68
72
{
69
73
name : "runtime-config.file is an absolute path but working directory is not /" ,
70
74
flags : map [string ]string {
71
75
"-runtime-config.file" : filePath ,
76
+ // alert manager
77
+ "-alertmanager.web.external-url" : "http://localhost/alertmanager" ,
78
+ "-alertmanager-storage.backend" : "local" ,
79
+ "-alertmanager-storage.local.path" : filepath .Join (e2e .ContainerSharedDir , "alertmanager_configs" ),
72
80
},
73
81
workDir : "/var/lib/cortex" ,
74
82
},
You can’t perform that action at this time.
0 commit comments