Merge remote-tracking branch 'origin/GP-1_ghidragon_test_fixes_4_22_26'

This commit is contained in:
ghidra1
2026-05-04 14:53:08 -04:00
45 changed files with 1976 additions and 688 deletions
@@ -19,7 +19,6 @@ import static org.junit.Assert.*;
import java.io.File;
import java.io.InvalidClassException;
import java.rmi.RemoteException;
import java.rmi.UnmarshalException;
import java.security.Principal;
import java.util.HashSet;
@@ -117,11 +116,10 @@ public class GhidraServerSerialFilterFailureTest extends AbstractGhidraHeadlessI
serverHandle.getRepositoryServer(getBogusUserSubject(), new Callback[0]);
fail("serial filter rejection failed to perform");
}
catch (RemoteException e) {
catch (Exception e) {
Throwable cause = e.getCause();
assertTrue("expected remote unmarshall exception", cause instanceof UnmarshalException);
cause = cause.getCause();
assertTrue("expected remote invalid class exceptionn",
assertTrue("Expected remote unmarshall exception", e instanceof UnmarshalException);
assertTrue("Expected remote invalid class exceptionn",
cause instanceof InvalidClassException);
}
@@ -528,8 +528,6 @@ public class ServerTestUtil {
Thread.sleep(200);
if (isServerRegistered(portFactory.getRMIRegistryPort()) &&
canConnect(portFactory.getRMISSLPort())) {
Msg.info(ServerTestUtil.class,
"Successfully verified Ghidra Server registration and SSL port availability");
success = true;
return;
}