On 5/8/06, Sunitha Kambhampati <[EMAIL PROTECTED]> wrote:
Not sure if this will solve this test diff issue, but I think at one
point, there used to be a way to have separate master files for sane and
insane jars.
Maybe someone more familiar with the test harness can confirm if that is
still possible or not.
Actually, it was for running with classes instead of packaged jar
files, not sane/insane. Although, that functionality is still in
FileCompare.java, just unused at the moment.
Instead of trying to make the test harness skip it on insane, what if
the test was rewritten as a junit test, replacing the main method
with:
public void testStreamingBlobSuicide() throws Exception {
if (SanityManager.DEBUG {
ij.getPropertyArg(args);
startServer();
createTestTable();
testInterruptedReadOfLob();
shutdownServer();
}
}
In an insane build, this will get compiled down to the equivalent of:
public void testStreamingBlobSuicide() throws Exception {
}
And since junit tests have no masters, there won't be any diff that
occurs between the sane and insane builds.
andrew