summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSteve MacLean <stmaclea@microsoft.com>2019-03-05 06:29:18 -0500
committerJan Kotas <jkotas@microsoft.com>2019-03-05 03:29:18 -0800
commitdc11162e1c36624d3cabb6e0bf6583a94ab2e30c (patch)
treeeb44fd174038cecc76e18a482bd1478d2434c3af /tests
parentb54752c8869f55c82cc24b49fbb1b48a87090943 (diff)
downloadcoreclr-dc11162e1c36624d3cabb6e0bf6583a94ab2e30c.tar.gz
coreclr-dc11162e1c36624d3cabb6e0bf6583a94ab2e30c.tar.bz2
coreclr-dc11162e1c36624d3cabb6e0bf6583a94ab2e30c.zip
Remove dead AppDomain unload code (#23026)
Diffstat (limited to 'tests')
-rw-r--r--tests/src/GC/Stress/Framework/ReliabilityFramework.cs30
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/src/GC/Stress/Framework/ReliabilityFramework.cs b/tests/src/GC/Stress/Framework/ReliabilityFramework.cs
index f1a3afca2e..b3eb0e74fd 100644
--- a/tests/src/GC/Stress/Framework/ReliabilityFramework.cs
+++ b/tests/src/GC/Stress/Framework/ReliabilityFramework.cs
@@ -2490,36 +2490,6 @@ Thanks for contributing to CLR Stress!
// opening <TestRun> tag.
continue;
}
- /*
- if (input.Substring(0, 6) == "UNLOAD")
- {
- int adUnloadedIndex = input.IndexOf("AppDomain Unloaded: ");
- DateTime thisTime = DateTime.Parse(input.Substring(4, adUnloadedIndex - 4));
- string id = input.Substring(adUnloadedIndex + ("AppDomain Unloaded: ".Length));
- int curTest = FindTestByID(id);
-
- if (curTest != -1)
- {
- // wait until the time is appropriate.
- if (baseTime == DateTime.MinValue)
- {
- baseTime = thisTime; // this is the 1st run command, this is our base time.
- startTime = DateTime.Now;
- }
- else
- {
- if ((thisTime.Subtract(baseTime)) > (DateTime.Now.Subtract(startTime)))
- {
- // sleep for (thisTime - baseTime) - (DateTime.Now - startTime)
- Thread.Sleep((int)(thisTime.Subtract(baseTime).Subtract(DateTime.Now.Subtract(startTime)).Ticks / TimeSpan.TicksPerMillisecond));
- }
- }
-
- UnloadOnEvent(curTestSet.Tests[curTest].AppDomain, eReasonForUnload.Replay);
- }
- }
- **/
-
}
while (_testsRunningCount != 0) // let the user know what tests haven't finished...