You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ec...@apache.org on 2017/10/13 18:23:43 UTC

[geode-native] branch develop updated: GEODE-3832: Add cleanup to .NET tests

This is an automated email from the ASF dual-hosted git repository.

echobravo pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git


The following commit(s) were added to refs/heads/develop by this push:
     new ec5e2a8  GEODE-3832: Add cleanup to .NET tests
ec5e2a8 is described below

commit ec5e2a80eee378ab209278b5626d45d5bd807e09
Author: David Kimura <dk...@pivotal.io>
AuthorDate: Fri Oct 13 18:19:59 2017 +0000

    GEODE-3832: Add cleanup to .NET tests
---
 clicache/integration-test/test.bat.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/clicache/integration-test/test.bat.in b/clicache/integration-test/test.bat.in
index e306603..172dfc0 100644
--- a/clicache/integration-test/test.bat.in
+++ b/clicache/integration-test/test.bat.in
@@ -58,6 +58,11 @@ rem exit code. As a workaround we write exit codes to files.
 
 (${NUNIT_CONSOLE} /run:${NAMESPACE}.${TESTCLASS} ..\..\$<CONFIG>\UnitTests.dll 2>&1 && echo 0 >${TEST}.errorlevel || echo 1 >${TEST}.errorlevel) | tee %LOG%
 
+rem Our testing framework sometimes leaves lingering server/locator processes.
+rem Let's clean up after ourselves so that we do not affect subsequent runs.
+rem Unfortunately this also means that our tests can only run serially.
+taskkill.exe /F /IM java.exe
+
 set /p errorlevel= <${TEST}.errorlevel
 if %errorlevel% neq 0 exit /b %errorlevel%
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <co...@geode.apache.org>'].