private void assertByteArrayEquals(byte[] array1, byte[] array2) {

		if (array1.length != array2.length) {
			Assert.fail(
				"Byte array lengths should be equal: " + array1.length + " and " + array2.length +
					"; values: " + Arrays.toString(array1) + " and " + Arrays.toString(array2));
			return;
		}

		for (int i = 0; i < array1.length; i++) {
			assertEquals(array1[i], array2[i]);
		}
	}
A large timeout period that is usually not reached
Ghidra/Features/Base/src/test.slow/java/ghidra/app/script/GhidraScriptAskMethodsTest.java