Closed waitman closed 10 years ago
trying tests/connection.lua
added 2 lines -- print status:
function test_ReplicaSet()
-- Create a Connection object
local db = mongo.Connection.New()
assertNotNil( db, 'unable to create mongo.Connection' )
print ("connection object created")
assert( db:connect(test_server), 'unable to forcefully connect to mongo instance' )
print ("connected OK")
# tests/connection.lua
==============================================================================
LUAMONGO_TEST_CONNECTION
==============================================================================
test_ReplicaSet: .connection object created
.....
sits forever (well longest i've waited is 20 minutes), no error or no 'connected OK'
hitting 'control-C' stops it (have to do it twice)
Can you let me know more about your setup? We're using this in production on an ubuntu server, so we obviously aren't seeing this issue. :)
sure, it's on a freebsd 10.0-CURRENT machine (amd64 smp out-of-order processors).
The C driver works fine (see example code) however the Lua wrapper hangs. my OP shows the versions of os/software...
i will update things forward and give it another try. thanks!