summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPat Gavlin <pagavlin@microsoft.com>2017-07-19 11:03:41 -0700
committerPat Gavlin <pagavlin@microsoft.com>2017-07-19 11:03:41 -0700
commitfe461c9688315fcfa02c5fd79428655d187d0b24 (patch)
treec3047d17c700315aa3b3113364139dd4a405c580
parent8a163ca04ae8734f4a9ee51e470beda933c96333 (diff)
downloadcoreclr-fe461c9688315fcfa02c5fd79428655d187d0b24.tar.gz
coreclr-fe461c9688315fcfa02c5fd79428655d187d0b24.tar.bz2
coreclr-fe461c9688315fcfa02c5fd79428655d187d0b24.zip
Fix the SustainedLowLatency/scenario test.
This test needs to return 100 to indicate success. Contributes to #12918 et. al.
-rw-r--r--tests/arm/Tests.lst2
-rw-r--r--tests/arm64/Tests.lst2
-rw-r--r--tests/issues.targets3
-rw-r--r--tests/src/GC/Features/SustainedLowLatency/scenario.cs4
4 files changed, 5 insertions, 6 deletions
diff --git a/tests/arm/Tests.lst b/tests/arm/Tests.lst
index 6ccb186b26..504e9e0351 100644
--- a/tests/arm/Tests.lst
+++ b/tests/arm/Tests.lst
@@ -14913,7 +14913,7 @@ RelativePath=GC\Features\SustainedLowLatency\scenario\scenario.cmd
WorkingDir=GC\Features\SustainedLowLatency\scenario
Expected=0
MaxAllowedDurationSeconds=600
-Categories=EXPECTED_FAIL;8091
+Categories=EXPECTED_PASS;LONG_RUNNING
HostStyle=0
[Generated1290.cmd_1865]
diff --git a/tests/arm64/Tests.lst b/tests/arm64/Tests.lst
index 90229fb11f..6effab88bc 100644
--- a/tests/arm64/Tests.lst
+++ b/tests/arm64/Tests.lst
@@ -82065,7 +82065,7 @@ RelativePath=GC\Features\SustainedLowLatency\scenario\scenario.cmd
WorkingDir=GC\Features\SustainedLowLatency\scenario
Expected=0
MaxAllowedDurationSeconds=600
-Categories=EXPECTED_FAIL;3392;LONG_RUNNING;NEW
+Categories=EXPECTED_PASS;LONG_RUNNING;NEW
HostStyle=0
[Generated1205.cmd_10567]
diff --git a/tests/issues.targets b/tests/issues.targets
index 147d09bf03..1526103d46 100644
--- a/tests/issues.targets
+++ b/tests/issues.targets
@@ -484,9 +484,6 @@
<ExcludeList Include="$(XunitTestBinBase)\GC\Features\LOHFragmentation\lohfragmentation\lohfragmentation.cmd">
<Issue>needs triage</Issue>
</ExcludeList>
- <ExcludeList Include="$(XunitTestBinBase)\GC\Features\SustainedLowLatency\scenario\scenario.cmd">
- <Issue>needs triage</Issue>
- </ExcludeList>
<ExcludeList Include="$(XunitTestBinBase)\GC\LargeMemory\API\gc\collect\collect.cmd">
<Issue>needs triage</Issue>
</ExcludeList>
diff --git a/tests/src/GC/Features/SustainedLowLatency/scenario.cs b/tests/src/GC/Features/SustainedLowLatency/scenario.cs
index 9725b97a6f..190e29c78b 100644
--- a/tests/src/GC/Features/SustainedLowLatency/scenario.cs
+++ b/tests/src/GC/Features/SustainedLowLatency/scenario.cs
@@ -65,7 +65,7 @@ class request
pin.Free();
}
- static public void Main(String[] args)
+ static public int Main(String[] args)
{
int n_requests = 600;
int allocation_volume = 100000; // 1 mil
@@ -109,6 +109,8 @@ class request
total_elapsed_ms = stopwatch.Elapsed.TotalMilliseconds;
}
+
+ return 100;
}
}