Summary of manual testing (dtest integration coming. See
All functionality was tested by running the .bat files through cmd and powershell, on both Windows 7 and Windows Server 2008.
All of the command line arguments were functional (foreground, background, -p, -H, -E, -verbose, -help).
System still started up correctly if invalid paths for output files were specified, but warning messages were displayed. An issue was found with the -p command line argument, which was fixed in v3 of the patch.
Heap and new-gen memory were correctly set based on system memory (according to rules defined in comments in cassandra.ps1). The .bat file correctly handles problems with powershell shell file execution policy.
For stop-server.bat, all command line arguments were tested, in both cmd and powershell, on both Windows 7 and Windows Server 2008. Stop-server.bat correctly handles receving invalid pid files, as well as valid pid-files but invalid pid's.
It should be noted that
CASSANDRA-7202 is tracking improving ccm compatibility with this patch, at which point the bootstrap tests will be an effective test for this patch, with a few modifications. It will also ensure that Cassandra is fully functional using these startup scripts.