Skip to content

Commit

Permalink
Reactivate ignored tests
Browse files Browse the repository at this point in the history
  • Loading branch information
freimair committed May 20, 2020
1 parent 4e583d1 commit b059c44
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions core/src/test/java/bisq/core/network/p2p/FileDatabaseTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,8 @@ public void migrationScenario2() throws Exception {
* RESULT:
* There are n + 1 data stores in the users working directory, one holding the live
* database, the other 2 being the exact and readonly copy of the data stores in
* resources. Plus, the data stores in the working dir do not share any set of objects.<br><br>
*
* Ignored because file-based tests do not work well with CI.
* resources. Plus, the data stores in the working dir do not share any set of objects.
*/
@Ignore
@Test
public void updateScenario() throws Exception {
// setup scenario
Expand All @@ -183,7 +180,7 @@ public void updateScenario() throws Exception {

// beware of the nasty hack!
// TODO replace as soon as we have at least one version string in history
setFinalStatic(Version.class.getField("history"), Arrays.asList("1.3.1"));
setFinalStatic(Version.class.getField("history"), Arrays.asList(getVersion(-1)));

// simulate bisq startup
AppendOnlyDataStoreService DUT = loadDatabase();
Expand All @@ -206,11 +203,8 @@ public void updateScenario() throws Exception {
* and none in the working directory.<br><br>
*
* RESULT:
* After startup, there should be 3 data stores in the working directory.<br><br>
*
* Ignored because file-based tests do not work well with CI.
* After startup, there should be 3 data stores in the working directory.
*/
@Ignore
@Test
public void freshInstallScenario() throws Exception {
// setup scenario
Expand All @@ -220,7 +214,7 @@ public void freshInstallScenario() throws Exception {

// beware of the nasty hack!
// TODO replace as soon as we have at least one version string in history
setFinalStatic(Version.class.getField("history"), Arrays.asList("1.3.1"));
setFinalStatic(Version.class.getField("history"), Arrays.asList(getVersion(-1)));

// simulate bisq startup
AppendOnlyDataStoreService DUT = loadDatabase();
Expand Down

0 comments on commit b059c44

Please sign in to comment.