mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-27 20:00:29 +08:00
Merge remote-tracking branch 'origin/GP-1_ghidragon_test_fixes_4_22_26'
This commit is contained in:
+3
-5
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user