@@ -146,34 +146,34 @@ func SubTestDepends(t *testing.T, expectRes *functional.ExpectRes, healthCheck *
146146func TestPriority (t * testing.T , expectRes * functional.ExpectRes , healthCheck * functional.HealthCheck , masterHttp * client.VermeerClient , graphName []string , factor string , waitSecond int ) {
147147 fmt .Print ("start test priority\n " )
148148
149- // // for scheduler, just test a simple task
150- // var computeTask = "pagerank"
149+ // for scheduler, just test a simple task
150+ var computeTask = "pagerank"
151151
152- // // TEST GROUP: PRIORITY
153- // // 1. send priority tasks to single graph
154- // // expect: the tasks should be executed in order of priority
152+ // TEST GROUP: PRIORITY
153+ // 1. send priority tasks to single graph
154+ // expect: the tasks should be executed in order of priority
155155
156- // SubTestPriority(t, expectRes, healthCheck, masterHttp, graphName, computeTask, waitSecond)
156+ SubTestPriority (t , expectRes , healthCheck , masterHttp , graphName , computeTask , waitSecond )
157157
158- // // 2. send small tasks and large tasks to single graph
159- // // expect: the small tasks should be executed first
158+ // 2. send small tasks and large tasks to single graph
159+ // expect: the small tasks should be executed first
160160
161- // SubTestSmall(t, expectRes, healthCheck, masterHttp, graphName, computeTask, waitSecond)
161+ SubTestSmall (t , expectRes , healthCheck , masterHttp , graphName , computeTask , waitSecond )
162162
163- // // 3. send support concurrent tasks to single graph
164- // // expect: the tasks should be executed concurrently
165- // SubTestConcurrent(t, expectRes, healthCheck, masterHttp, graphName, computeTask, waitSecond)
163+ // 3. send support concurrent tasks to single graph
164+ // expect: the tasks should be executed concurrently
165+ SubTestConcurrent (t , expectRes , healthCheck , masterHttp , graphName , computeTask , waitSecond )
166166
167- // // 4. send dependency-tasks to single graph
168- // // expect: the tasks should be executed in order of dependency
167+ // 4. send dependency-tasks to single graph
168+ // expect: the tasks should be executed in order of dependency
169169
170- // SubTestDepends(t, expectRes, healthCheck, masterHttp, graphName, computeTask, waitSecond)
170+ SubTestDepends (t , expectRes , healthCheck , masterHttp , graphName , computeTask , waitSecond )
171171
172- // // 5. send same priority tasks to single graph
173- // // expect: the tasks should be executed in order of time
174- // // skipped, too fragile
172+ // 5. send same priority tasks to single graph
173+ // expect: the tasks should be executed in order of time
174+ // skipped, too fragile
175175
176- // // 6. send tasks to different graphs
177- // // expect: the tasks should be executed concurrently
178- // // have been tested in SubTestSmall and SubTestDepends
176+ // 6. send tasks to different graphs
177+ // expect: the tasks should be executed concurrently
178+ // have been tested in SubTestSmall and SubTestDepends
179179}
0 commit comments