Check-in [d4a99a91b6]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Correct test task polling to check every second to see if a task has ended.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:d4a99a91b609ce48c046bfc7460d18ac47cb641f
User & Date: stephanie.gawroriski 2020-01-01 23:33:12
Context
2020-01-01
23:36
Correct config. check-in: f00ab71b65 user: stephanie.gawroriski tags: trunk
23:33
Correct test task polling to check every second to see if a task has ended. check-in: d4a99a91b6 user: stephanie.gawroriski tags: trunk
23:29
Try to cache the SummerCoat ROM so that it is not needlessly recreated when a later workflow runs. check-in: ee05954bbd user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/mids/tac-runner/net/multiphasicapps/tac/runner/SingleUnit.java.

83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
	public final boolean run()
	{
		// Start task
		Task task = ManagerFactory.getTaskManager().startTask(
			this.suite, this.midlet);
		
		// Run the task task until it terminates
		for (long mswait = 10;; mswait += Math.min(10, 250))
		{
			// Check status
			TaskStatus status = task.getStatus();
			
			// Depends on the status
			switch (status)
			{







|







83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
	public final boolean run()
	{
		// Start task
		Task task = ManagerFactory.getTaskManager().startTask(
			this.suite, this.midlet);
		
		// Run the task task until it terminates
		for (long mswait = 100;; mswait = Math.min(mswait + 100, 1000))
		{
			// Check status
			TaskStatus status = task.getStatus();
			
			// Depends on the status
			switch (status)
			{