Improve async support in Spring MVC Test

When obtaining an async result, tests will now await concurrent
processing to complete for the exact amount of time equal to the
actual async timeout value.

Issue: SPR-9875
This commit is contained in:
Rossen Stoyanchev
2012-10-22 21:20:47 -04:00
parent 8270d82bda
commit 3bb515bec7
6 changed files with 84 additions and 58 deletions

View File

@@ -120,4 +120,8 @@ public class StubMvcResult implements MvcResult {
this.response = response;
}
public Object getAsyncResult() {
return null;
}
}