Skip to content

Commit

Permalink
test: fix exception list in test definition (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus authored Apr 5, 2023
1 parent 32aafb9 commit a22a30e
Showing 1 changed file with 3 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ public void beforeEach() {
}

@Test
public void checkThatInMemDVWorksEvenIfWrongConfig()
throws InterruptedException, StorageQueryException, NoSuchAlgorithmException, InvalidKeyException,
SignatureException, InvalidAlgorithmParameterException, NoSuchPaddingException, BadPaddingException,
IOException, InvalidKeySpecException, IllegalBlockSizeException, StorageTransactionLogicException {
public void checkThatInMemDVWorksEvenIfWrongConfig() throws Exception {
{
Utils.commentConfigValue("postgresql_user");
Utils.commentConfigValue("postgresql_password");
Expand Down Expand Up @@ -104,10 +101,7 @@ public void checkThatInMemDVWorksEvenIfWrongConfig()
}

@Test
public void checkThatActualDBWorksIfCorrectConfigDev() throws InterruptedException, StorageQueryException,
NoSuchAlgorithmException, InvalidKeyException, SignatureException, InvalidAlgorithmParameterException,
NoSuchPaddingException, BadPaddingException, UnsupportedEncodingException, InvalidKeySpecException,
IllegalBlockSizeException, StorageTransactionLogicException {
public void checkThatActualDBWorksIfCorrectConfigDev() throws Exception {
{
String[] args = { "../" };
TestingProcessManager.TestingProcess process = TestingProcessManager.start(args);
Expand Down Expand Up @@ -143,10 +137,7 @@ public void checkThatActualDBWorksIfCorrectConfigDev() throws InterruptedExcepti
}

@Test
public void checkThatActualDBWorksIfCorrectConfigProduction() throws InterruptedException, StorageQueryException,
NoSuchAlgorithmException, InvalidKeyException, SignatureException, InvalidAlgorithmParameterException,
NoSuchPaddingException, BadPaddingException, UnsupportedEncodingException, InvalidKeySpecException,
IllegalBlockSizeException, StorageTransactionLogicException {
public void checkThatActualDBWorksIfCorrectConfigProduction() throws Exception {
{
String[] args = { "../" };
TestingProcessManager.TestingProcess process = TestingProcessManager.start(args);
Expand Down

0 comments on commit a22a30e

Please sign in to comment.