Build fix. Fixed a typo. task.id() isn't a thing in this function.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 31 Jul 2017 23:30:25 +0000 (23:30 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 31 Jul 2017 23:30:25 +0000 (23:30 +0000)
* public/v3/models/test-group.js:
(TestGroup.createWithCustomConfiguration):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220080 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/v3/models/test-group.js

index 3cf3a8b..b63363a 100644 (file)
@@ -1,3 +1,10 @@
+2017-07-27  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Build fix. Fixed a typo. task.id() isn't a thing in this function.
+
+        * public/v3/models/test-group.js:
+        (TestGroup.createWithCustomConfiguration):
+
 2017-07-11  Ryosuke Niwa  <rniwa@webkit.org>
 
         Another build fix.
index 93318fb..15bbb53 100644 (file)
@@ -206,7 +206,7 @@ class TestGroup extends LabeledObject {
         const revisionSets = this._revisionSetsFromCommitSets(commitSets);
         const params = {task: task.id(), name: groupName, platform: platform.id(), test: test.id(), repetitionCount, revisionSets};
         return PrivilegedAPI.sendRequest('create-test-group', params).then((data) => {
-            return this.fetchForTask(task.id(), true);
+            return this.fetchForTask(data['taskId']);
         });
     }