Skip to content

Commit

Permalink
Improve backup stress test for single instance
Browse files Browse the repository at this point in the history
  • Loading branch information
davidegrohmann committed Nov 28, 2016
1 parent cba1fb6 commit 4ade1ff
Show file tree
Hide file tree
Showing 25 changed files with 376 additions and 366 deletions.
2 changes: 1 addition & 1 deletion ISSUE_TEMPLATE.md
Expand Up @@ -34,4 +34,4 @@ I discovered that when I mount `data/` to a volume on my host, and then stop the
`write.lock` should be removed now. `write.lock` should be removed now.


### Actual behavior ### Actual behavior
`write.lock` is still present and preventing access by other programs. `write.lock` is still present and preventing access by other programs.
Expand Up @@ -940,20 +940,6 @@ public void incrementalBackupShouldFailWhenTargetDirContainsDifferentStore() thr
} }
} }


@Test
public void theBackupServiceShouldBeHappyUnderStress() throws Exception
{
Callable<Integer> callable = new BackupServiceStressTestingBuilder()
.until( untilTimeExpired( 10, SECONDS ) )
.withStore( storeDir )
.withBackupDirectory( backupDir )
.withBackupAddress( BACKUP_HOST, backupPort )
.build();

int brokenStores = callable.call();
assertEquals( 0, brokenStores );
}

private void defaultBackupPortHostParams() private void defaultBackupPortHostParams()
{ {
dbRule.setConfig( OnlineBackupSettings.online_backup_server, BACKUP_HOST + ":" + backupPort ); dbRule.setConfig( OnlineBackupSettings.online_backup_server, BACKUP_HOST + ":" + backupPort );
Expand Down

This file was deleted.

0 comments on commit 4ade1ff

Please sign in to comment.