Skip to content

Crash when accessing the db property #10

@morkeleb

Description

@morkeleb

For some reason I get crashes with the following test:

def test_crash_when_accessing_db
conn = EmbeddedMongo::Connection.new.db("mydb", :pool_size => 5, :timeout => 5)
res = conn['test']['foo'].find("_id"=>1234).to_a.first
assert_equal(nil, res)
end

I have tried tracking it down but I cant seem to figure out how it reaches the crashing code path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions