I fixed a bug last night that was causing the tests to hang in the
CVSServerConnectionTest. For some reason the configuration settings
were null. I had moved the default encoding to the configuration
settings and when the PServerAuthentication tried to write to the stream
later on it was not able to get an instance of the settings object. The
encoding property was static, however the accessor method was not, which
was causing a problem when the application could not create a
configuration object. =20
To fix this I made a change that checks if the configuration is null in
the GetInstance() method and also made the Encoding property static, so
hopefully this won't pop up again. Just a note that the encoding
changes were done in order to try to fix issue 820917, however it looks
like there is a little more to that one. The cvs server itself had some
problems interpreting UTF8 encoding for commands so I am going to have
to break the Encoding out into a couple streams...just a FYI, sorry :-).
There are still a couple of other tests that are giving problems that I
can't seem to track down. One of them is the MainTest (I think, I did
some guessing here), which seems to be expecting input during the test
run. For some reason NUnit is fine with this and the test continues but
when you run it from the command line the build hangs. Pressing enter
allows the build to continue, however this is causing a problem with the
nightly build. Steve could you look into this and see if you can find
out what is going on. I just want to note that the MainTest seems to be
where it is hanging, but as I was running it from the command line I
could not be 100% sure.
The other is the FileHandler tests which seem to be stuck in a loop. I
am not sure if the Encoding changes are the cause of this, I tried to
track it down last night but was not able to solve it. I have a strong
suspicion that it might be caused by a while (true) loop in the
UncompressedFileHandler, but I was not able to prove this, or solve it.
Gerald would you be able to look at this, I think you are more familiar
with this area than I am. =20
If you come across anything else please drop me a line.