Anonymous_User Absent Member.
Absent Member.
367 views

Tests seem to repeat or restart for no apparent reason. -Fix


This has been a common topic with 1.1 so I thought I'd post it here.
It's been fixed in the beta and will be released with 1.2. This is also
in the documentation.

P) If an assert retries for more than 5 minutes, the server technology
used by Validator will automatically restart the test. This will cause
two threads to execute the same test so you will see it continue to
retry in the original thread, and the new thread will start the test
over.

S) To prevent these retries from occurring, modify the Validator startup
script with the following:
-Dsun.net.httpserver.idleInterval="3600"
This parameter instructs the Jersey http server to allow 60 minutes of
retries, which should be sufficient for any Validator test.

Then restart the Validator server.

Use the following example to see where this parameter should be placed.
:runUIMode
start jre/bin/java.exe -cp
lib/*;lib/ext/*;lib/enc/*;lib/jldap/*;lib/json/*;lib/junit/*;lib/mysql/*;lib/rest/*;lib/ssl/*;lib/oracle10g/*
-Dsun.net.httpserver.idleInterval="3600"
com.novell.nccd.validator.RESTServer $1
GOTO :EOF


--
kgividen
------------------------------------------------------------------------
kgividen's Profile: https://forums.netiq.com/member.php?userid=4528
View this thread: https://forums.netiq.com/showthread.php?t=47127

Labels (1)
0 Likes
2 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Tests seem to repeat or restart for no apparent reason. -Fix


Thank you for the update, Kent!


--
al_b
------------------------------------------------------------------------
al_b's Profile: https://forums.netiq.com/member.php?userid=209
View this thread: https://forums.netiq.com/showthread.php?t=47127

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Tests seem to repeat or restart for no apparent reason. -Fix


Everyone using Validator should make this change if you have not yet
seen this issue you will.


--
stharp
------------------------------------------------------------------------
stharp's Profile: https://forums.netiq.com/member.php?userid=2709
View this thread: https://forums.netiq.com/showthread.php?t=47127

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.