On 14/03/2015 00:07, Christian Rebischke wrote:
Hello,
I have installed sync-server 1.5 with all dependencies: git-core,
python2.7 python2.7-dev make python-virtualenv on the following system:
Linux steinhaus 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC
2012 x86_64 x86_64 x86_64 GNU/Linux
the make build works fine but when I try to test my build with "make
test" i get the following errors:
[..snip..]
./local/bin/flake8 ./syncserver
./local/bin/nosetests -s syncstorage.tests
..................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS..SSSSSSSSSSSSSSSS.SS................
----------------------------------------------------------------------
Ran 232 tests in 61.584s
OK (SKIP=147)
This is a good start, at least all the stuff built correctly.
# Test against a running server
./local/bin/pserve syncserver/tests.ini 2> /dev/null & SERVER_PID=$!; \
sleep 2; \
./local/bin/python -m syncstorage.tests.functional.test_storage \
--use-token-server
http://localhost:5000/token/1.0/sync/1.5; \
kill $SERVER_PID
Starting server in PID 27420.
serving on 0.0.0.0:5000 view at http://127.0.0.1:5000
This test sometimes fails due to slightly different network setups on
the host machine.
In your case, I suspect it's the difference between "localhost:500" and
"127.0.0.1:5000" in the above lines, causing problems with request
signing in the tests. You could try editing the Makefile to change
"localhost:5000" to "127.0.0.1:5000" and see if that makes a difference.
I also wouldn't be too worried if you can't get this particular test
passing, since it can tend to be a little flaky.
Cheers,
Ryan
_______________________________________________
Sync-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/sync-dev