Age | Commit message (Collapse) | Author |
|
The prefetch requests are added in a background process, so the might
not be ready when the test wants to count them. Fix it by introducing a
wait_for untility function that waits for a assert to pass for a
specified timeout, to give the background thread the chance to start and
add the prefetch requests.
Also lock the prefetch lock before trying to access the extents to
prevent a data race.
|
|
|
|
Main branch as of today:
350 passed, 21 skipped, 52 deselected, 3 warnings in 11.10s
This branch as of this commit:
361 passed, 21 skipped, 52 deselected, 3 warnings in 10.51s
Of those 11 "new" tests, 8 are ones I wrote (tests/pkey.py). Hard to
figure out what the other 3 are given pytest-relaxed's output is very
different from regular verbose pytest. oops.
|
|
|
|
|
|
Except in one spot where it was too complicated to bother for now XD
|
|
They moved from Temple Place to Franklin Street in 2005.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Includes attempt to split out the longer-lived server component from the
client component, in fixtures
Also starts tweaking early tests so they're less bad. E.g. test_2_close
had its docstring actively disagreeing with its code (which was super
confusing since both were committed at the same time in 2005...)
|
|
|
|
Very slowly. Pretty sure we will want to retain module-level fixtures for that stuff. heh.
|
|
|
|
Calling stat from inside the prefetch-body has led users to
receive IOError: The message [<filename>] is not extractable.
|
|
It is the right thing to do since we have no idea what encoding the file
is in, or even if the file is text data. BufferedFile.readline() is
unchanged and returns text strings assuming the file is utf-8 encoded.
This should fix the following issue:
http://comments.gmane.org/gmane.comp.sysutils.backup.obnam/252
Antoine Brenner
Conflicts:
sites/www/changelog.rst
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Create constants for byte messages, implement asbytes so many methods can take Message and key objects directly and split get_string into get_text and get_binary. Also, change int handling to use mpint with a flag whenever the int is greater than 32 bits.
|
|
|
|
Conflicts:
paramiko/proxy.py
|
|
|
|
slight tweak to test, make it verify the length too
|
|
in the test that verifies key renegotiation during a large file "put", also
do a "get" of the large file (with prefetch) to verify that nothing screwy
happens.
|
|
bump copyright year to 2007
|
|
allow prefetch + readv to occur at the same time (even though it will be really inefficient). instead of a moving pointer, use the prefetched buffers as an indication of what we've downloaded so far. break up large readv requests into the max packet size. add 2 more unit tests to test this stuff.
|
|
readv should just yield results as it gets them (suggestion from robertc)
|
|
document readv, fix thinko, and add a readv unit test
|
|
move sftp big-file tests into a separate class and add one that does a prefetch, then seeks in random order
|