You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by ad...@apache.org on 2019/01/16 14:03:26 UTC
[wicket] branch master updated: Attempt to solve a problem with
page store manager already defined for test application
This is an automated email from the ASF dual-hosted git repository.
adelbene pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git
The following commit(s) were added to refs/heads/master by this push:
new e77939f Attempt to solve a problem with page store manager already defined for test application
e77939f is described below
commit e77939f6e98ccbbd7b34448285308ff5074fc4e0
Author: Andrea Del Bene <ad...@apache.org>
AuthorDate: Wed Jan 16 14:01:17 2019 +0100
Attempt to solve a problem with page store manager already defined for
test application
---
.../test/java/org/apache/wicket/page/AsyncPageStoreManagerTest.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/wicket-core/src/test/java/org/apache/wicket/page/AsyncPageStoreManagerTest.java b/wicket-core/src/test/java/org/apache/wicket/page/AsyncPageStoreManagerTest.java
index 689f79f..d3af3bf 100644
--- a/wicket-core/src/test/java/org/apache/wicket/page/AsyncPageStoreManagerTest.java
+++ b/wicket-core/src/test/java/org/apache/wicket/page/AsyncPageStoreManagerTest.java
@@ -129,6 +129,9 @@ class AsyncPageStoreManagerTest
// (OOM) and not on disk (slowly filling disk as this even survives application restarts.
Assert.assertNull(dataStore.getData("dummy_id", 0));
Assert.assertNull(dataStore.getData("dummy_id", 1));
+
+ //destroy page manager to clean static variables
+ newPageManager.destroy();
}
private static class TestPage implements IManageablePage