OpenSearch/test
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
..
fixtures Fix GCS Mock Behavior for Missing Bucket (#57283) (#57310) 2020-05-29 10:01:20 +02:00
framework Fix assertion catching in aggregation supported type test (#56466) (#57382) 2020-06-01 12:10:05 -04:00
logger-usage Remove deprecated third-party methods from tests (#55255) (#55269) 2020-04-15 17:54:47 -04:00
build.gradle Move publishing configuration to a separate plugin (#56727) 2020-05-14 20:23:07 -07:00