OpenSearch/test/framework
Zachary Tong daaf5a3dcc
Fix assertion catching in aggregation supported type test (#56466) (#57382)
At some point, we changed the supported-type test to also catch
assertion errors.  This has the side effect of also catching the
`fail()` call inside the try-catch, which silently smothered some
failures.

This modifies the test to throw at the end of the try-catch
block to prevent from accidentally catching itself.

Catching the AssertionError is convenient because there are other locations
that do throw an assertion in tests (due to hitting an assertion
before the exception is thrown) so I think we should keep it around.

Also includes a variety of fixes to other tests which were failing
but being silently smothered.
2020-06-01 12:10:05 -04:00
..
src Fix assertion catching in aggregation supported type test (#56466) (#57382) 2020-06-01 12:10:05 -04:00
build.gradle Move bwcVersions extension property to BuildParams (back port) (#56381) 2020-05-11 09:39:13 +02:00