Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method MongoDB\Driver\Manager::executeInsert() (test suite) #41

Closed
remicollet opened this issue Oct 31, 2015 · 5 comments
Closed

Comments

@remicollet
Copy link
Contributor

Trying to run the test suite:

Fatal error: Call to undefined method MongoDB\Driver\Manager::executeInsert() in /tmp/mongo-php-library/tests/ClientFunctionalTest.php on line 27

There is a mongodb server v 2.4.14 running and listening to port 27017

In debug:

 [2015-10-31T07:40:32+00:00]     PHONGO: DEBUG   > Connection string: 'mongodb://127.0.0.1:27017/?serverSelectionTimeoutMS=100'
 [2015-10-31T07:40:32+00:00]     PHONGO: DEBUG   > Creating Manager, phongo-1.0.0[stable] - mongoc-1.2.0(1.2.0), libbson-1.2.0(1.2.0), php-5.6.15
 [2015-10-31T07:40:32+00:00]     client: DEBUG   > Using custom stream initiator.
 [2015-10-31T07:40:32+00:00]     PHONGO: DEBUG   > Connection string: 'mongodb://127.0.0.1:27017/?serverSelectionTimeoutMS=100'
 [2015-10-31T07:40:32+00:00]     PHONGO: DEBUG   > Creating Manager, phongo-1.0.0[stable] - mongoc-1.2.0(1.2.0), libbson-1.2.0(1.2.0), php-5.6.15
 [2015-10-31T07:40:32+00:00]     client: DEBUG   > Using custom stream initiator.
 [2015-10-31T07:40:32+00:00]     PHONGO: DEBUG   > Connecting to '127.0.0.1:27017[mongodb://127.0.0.1:27017/?serverSelectionTimeoutMS=100]'
 [2015-10-31T07:40:32+00:00]     PHONGO: DEBUG   > Created: RSRC#142 as '127.0.0.1:27017[mongodb://127.0.0.1:27017/?serverSelectionTimeoutMS=100]'
 [2015-10-31T07:40:32+00:00]     PHONGO: DEBUG   > Setting timeout to: 0
 [2015-10-31T07:40:32+00:00]     PHONGO: DEBUG   > Setting timeout to: 0
 [2015-10-31T07:40:32+00:00]     PHONGO: DEBUG   > Reading got: 4 wanted: 0
 [2015-10-31T07:40:32+00:00]     PHONGO: DEBUG   > Setting timeout to: 0
 [2015-10-31T07:40:32+00:00]     PHONGO: DEBUG   > Reading got: 127 wanted: 0
 [2015-10-31T07:40:32+00:00]     PHONGO: DEBUG   > Setting timeout to: 300000
 [2015-10-31T07:40:32+00:00]     PHONGO: DEBUG   > Setting timeout to: 300000
 [2015-10-31T07:40:32+00:00]     PHONGO: DEBUG   > Reading got: 4 wanted: 4
 [2015-10-31T07:40:32+00:00]     PHONGO: DEBUG   > Setting timeout to: 300000
 [2015-10-31T07:40:32+00:00]     PHONGO: DEBUG   > Reading got: 74 wanted: 74
 [2015-10-31T07:40:32+00:00]     PHONGO: DEBUG   > Not destroying RSRC#-1
@jmikola
Copy link
Member

jmikola commented Nov 2, 2015

@remicollet: This should be resolved by #42. Sorry for missing the issue earlier.

@jmikola jmikola closed this as completed Nov 2, 2015
@bjori
Copy link
Contributor

bjori commented Nov 2, 2015

Should be fixed by #42
Thanks for sanity checking :)

@bjori
Copy link
Contributor

bjori commented Nov 2, 2015

Btw, that

 [2015-10-31T07:40:32+00:00]     PHONGO: DEBUG   > Not destroying RSRC#-1

looks a bit dodgy. I wonder what that is about.

@remicollet
Copy link
Contributor Author

With current master a3c0b97

 Time: 592 ms, Memory: 14.50Mb

 There was 1 skipped test:

 1) MongoDB\Tests\Collection\CrudSpec\AggregateFunctionalTest::testAggregateWithOut
 $out aggregation pipeline operator is not supported

 /dev/shm/BUILD/mongo-php-library-a3c0b97b23ea8b111e332055cfd5d072312fd9e1/tests/Collection/CrudSpec/AggregateFunctionalTest.php:48

 OK, but incomplete, skipped, or risky tests!
 Tests: 587, Assertions: 949, Skipped: 1.

Thanks!

Do you plan a new "alpha" soon ?

@jmikola
Copy link
Member

jmikola commented Nov 2, 2015

There should be a new beta or RC soon. I'm still wrapping up release notes for the driver at the moment :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants