Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Side by Side Diff: ct/go/util/constants.go

Issue 1991943002: Use swarming in run_lua CT task (Closed) Base URL: https://skia.googlesource.com/buildbot@ct-6-capture_skps
Patch Set: Use new method in util.go Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 package util 1 package util
2 2
3 import ( 3 import (
4 "fmt" 4 "fmt"
5 "path/filepath" 5 "path/filepath"
6 "time" 6 "time"
7 ) 7 )
8 8
9 const ( 9 const (
10 NUM_WORKERS_PROD int = 100 10 NUM_WORKERS_PROD int = 100
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 SWARMING_DIR_NAME = "swarming" 189 SWARMING_DIR_NAME = "swarming"
190 SWARMING_POOL = "CT" 190 SWARMING_POOL = "CT"
191 // Timeouts. 191 // Timeouts.
192 BATCHARCHIVE_TIMEOUT = 10 * time.Minute 192 BATCHARCHIVE_TIMEOUT = 10 * time.Minute
193 XVFB_TIMEOUT = 5 * time.Minute 193 XVFB_TIMEOUT = 5 * time.Minute
194 // Isolate files. 194 // Isolate files.
195 CREATE_PAGESETS_ISOLATE = "create_pagesets.isolate" 195 CREATE_PAGESETS_ISOLATE = "create_pagesets.isolate"
196 CAPTURE_ARCHIVES_ISOLATE = "capture_archives.isolate" 196 CAPTURE_ARCHIVES_ISOLATE = "capture_archives.isolate"
197 CAPTURE_SKPS_ISOLATE = "capture_skps.isolate" 197 CAPTURE_SKPS_ISOLATE = "capture_skps.isolate"
198 CAPTURE_SKPS_FROM_PDFS_ISOLATE = "capture_skps_from_pdfs.isolate" 198 CAPTURE_SKPS_FROM_PDFS_ISOLATE = "capture_skps_from_pdfs.isolate"
199 RUN_LUA_ISOLATE = "run_lua.isolate"
199 ) 200 )
200 201
201 type PagesetTypeInfo struct { 202 type PagesetTypeInfo struct {
202 NumPages int 203 NumPages int
203 CSVSource string 204 CSVSource string
204 UserAgent string 205 UserAgent string
205 CaptureArchivesTimeoutSecs int 206 CaptureArchivesTimeoutSecs int
206 CreatePagesetsTimeoutSecs int 207 CreatePagesetsTimeoutSecs int
207 CaptureSKPsTimeoutSecs int 208 CaptureSKPsTimeoutSecs int
208 RunChromiumPerfTimeoutSecs int 209 RunChromiumPerfTimeoutSecs int
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 338
338 SupportedPageSetsToDesc = map[string]string{ 339 SupportedPageSetsToDesc = map[string]string{
339 PLATFORM_LINUX: "Linux (100 Ubuntu12.04 machines)", 340 PLATFORM_LINUX: "Linux (100 Ubuntu12.04 machines)",
340 PLATFORM_ANDROID: "Android (100 N5 devices)", 341 PLATFORM_ANDROID: "Android (100 N5 devices)",
341 } 342 }
342 ) 343 )
343 344
344 func NumWorkers() int { 345 func NumWorkers() int {
345 return len(Slaves) 346 return len(Slaves)
346 } 347 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698