Change from TaskQueueUtils to CloudTasksUtils in LoadTestAction (#1468)

* Change from TaskQueueUtils to CloudTasksUtils in LoadTestAction

* Put X_CSRF_TOKEN in task headers

* Fix schedule time and gradle issue

* Remove TaskQueue constant dependency

* Double run seconds

* Add comment for X_CSRF_TOKEN
This commit is contained in:
Rachel Guan
2022-02-08 17:44:24 -05:00
committed by GitHub
parent 09dca28122
commit 00c8b6a76d
4 changed files with 50 additions and 23 deletions
@@ -52,7 +52,7 @@ class LoadTestCommandTest extends CommandTestCase<LoadTestCommand> {
.put("hostInfos", 1)
.put("domainInfos", 1)
.put("contactInfos", 1)
.put("runSeconds", 4600)
.put("runSeconds", 9200)
.build();
verify(connection)
.sendPostRequest(