Test dependencies

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Igor Bareev
Posts: 6
Joined: Sun Jan 12, 2003 6:00 pm
Location: France

Post by Igor Bareev »

Hello all,

I have to clear out one question about test dependencies.

Let's imagine we have tests A, B, C with the following dependencies: C depends on B, and B depends on A.

Execution of the test A takes some time, for ex., 30 seconds. Tests B and C have smaller polling interval, say, 5 seconds.

I faced a strange behavior in HM 3.64 -- when test A was in status "Checking", test B was not executed, but test C was executed.

Please explain how it works.

I need to have tests B and C paused (Waiting for Master - ?) when test A is running. I don't want to add direct dependency on test A in test C.

<font size=-1>[ This Message was edited by: Igor Bareev on 2003-03-21 08:07 ]</font>
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

How it works?
E.g. its time to check Test-C:
- Test-C depends on Test-B, so HostMonitor checks how "fresh" is status of Test-B.
- If Test-B was executed XX or more seconds ago (XX specified on Behavior page in the Options dialog), HostMonitor will start Test-B (which in turn can start execution of Test-A)
- If Test-B was executed 0..XX-1 seconds ago, HostMonitor will not perform Test-B again. It will check current status of Test-B and perform Test-C or set WaitForMaster status for Test-C

Regards
Alex
Post Reply