r25767 - Disable DebugDatabaseTest.checkZapGroups(). (fia/pull/106']#106) * Disable DebugDatabaseTest.ch

Github Bot

Poster of Commits
Disable DebugDatabaseTest.checkZapGroups(). (#106)

* Disable DebugDatabaseTest.checkZapGroups().

This test relies on the wiki, which seems to be down for me right
now.

In general, tests that rely on external data (especially ones that
rely on the network) should be avoided to ensure future
reproducibility.

* Wrap URL.openConnection.

This controls all current accesses outside of DataUtilities (since
that lives in lib/).

As such, we can then use this in a new JUnit 5 extension that forces
it to return null (thereby generating a NPE for any users, and
probably causing network-dependent tests to fail unless they are
robust against this scenario).

View on Github
 
Top