Hack to add Graphite namespace to the file name of latest tests (#3660)
This commit is contained in:
parent
62a6d8f1b2
commit
46c626d577
|
|
@ -49,13 +49,17 @@ module.exports = {
|
|||
|
||||
// This is a hack to get the same name as in Grafana, meaning we can
|
||||
// generate the path to the URL there
|
||||
const name = graphiteUtil.getURLAndGroup(
|
||||
options,
|
||||
message.group,
|
||||
message.url,
|
||||
this.options.graphite.includeQueryParams,
|
||||
this.alias
|
||||
);
|
||||
const name =
|
||||
(options.copyLatestFilesToBaseGraphiteNamespace
|
||||
? `${options.graphite.namespace}.`
|
||||
: '') +
|
||||
graphiteUtil.getURLAndGroup(
|
||||
options,
|
||||
message.group,
|
||||
message.url,
|
||||
this.options.graphite.includeQueryParams,
|
||||
this.alias
|
||||
);
|
||||
const connectivity = graphiteUtil.getConnectivity(options);
|
||||
|
||||
if (this.useScreenshots) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue