Ticket #1843 (new defect)

Opened 5 months ago

Tests are always executed on host 0

Reported by: Marko Gronroos Owned by: Marko Gronroos
Priority: critical Milestone: Testing Tools Backlog
Component: Testing Tools Version: 1.0.0
Keywords: Cc:
Known Issue description:
Hours estimate: Deadline (dd.mm.yyyy):
Known Issue version (since): Known Issue title:
Hours done: Depends to:
Affects documentation: no
Known Issue workaround:
Affects release notes: no Contract:

Description

The problem occurs in ToolkitAutomatedTesting? project, when I set

<host>1</host>

in the config.xml file. Regardless of the host number, it runs the tests on testing host with id 0.

This is probably in Testing Tools, not Automated Tests, because the host id is correct when calling

			int taskId = api.executeTask(new String[] { testcaseScript },
					new boolean[] { true }, new boolean[] { false },
					new int[] { timeout }, new int[] { testingTargetId },
					testingHostId);

in LaunchToolkitTests?.java.

This is critical because it blocks our automated Toolkit testing on multiple hosts when using a single testing server.

Note: See TracTickets for help on using tickets.