mirror of https://github.com/apache/druid.git
more specific exceptions in test
This commit is contained in:
parent
cd38b5ba24
commit
6db99c45a6
|
@ -42,7 +42,7 @@ public class QueriesTest
|
|||
try {
|
||||
Queries.verifyAggregations(aggFactories, postAggs);
|
||||
}
|
||||
catch (Exception e) {
|
||||
catch (IllegalArgumentException e) {
|
||||
exceptionOccured = true;
|
||||
}
|
||||
|
||||
|
@ -74,7 +74,7 @@ public class QueriesTest
|
|||
try {
|
||||
Queries.verifyAggregations(aggFactories, postAggs);
|
||||
}
|
||||
catch (Exception e) {
|
||||
catch (IllegalArgumentException e) {
|
||||
exceptionOccured = true;
|
||||
}
|
||||
|
||||
|
@ -128,7 +128,7 @@ public class QueriesTest
|
|||
try {
|
||||
Queries.verifyAggregations(aggFactories, postAggs);
|
||||
}
|
||||
catch (Exception e) {
|
||||
catch (IllegalArgumentException e) {
|
||||
exceptionOccured = true;
|
||||
}
|
||||
|
||||
|
@ -182,7 +182,7 @@ public class QueriesTest
|
|||
try {
|
||||
Queries.verifyAggregations(aggFactories, postAggs);
|
||||
}
|
||||
catch (Exception e) {
|
||||
catch (IllegalArgumentException e) {
|
||||
exceptionOccured = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue