You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Some of the driver tests test the installed driver #711
ERROR: test_close (__main__.TestCursor)
----------------------------------------------------------------------
Traceback (most recent call last):
File "connections/cursor.py", line 34, in test_close
self.cur.close()
File "/home/atnnn/.python/local/lib/python2.7/site-packages/rethinkdb/net.py", line 39, in close
self.conn._end(self.query, self.term)
File "/home/atnnn/.python/local/lib/python2.7/site-packages/rethinkdb/net.py", line 119, in _end
query.type = p.Query.END
AttributeError: type object 'Query' has no attribute 'END'
I thought that I would do just a little more cleanup, and be done with at least the Python part of it, but it is turning into a large project. As a bit of a preview on this here is a estimation of what needs to be done:
hard path references in bench need to be evaluated. If they need changes this is at least 40 files to touch
drivers/ruby/quickstart.rb probably needs to make sure that it is loading the driver it thinks it is
scripts/spin_up_cluster and scripts/spin_up_cluster_with_name_conflict should either be removed, or harmonized with the testing infrastructure
test/common/driver.py::find_rethinkdb_executable should be placed into test/common/utils.py and harmonized with the techniques there
test/common/test_report.py should probably make sure that it is getting the version of the database that is being tested by asking the executable
test/common/unit.py should use the tools from test/common/utils.py
test/rql_test/drivers/driver.rb and test/rql_test/drivers/driver.js need to verify that they are getting the driver they expect (Python version does).
Ruby hard coded and/or unchecked loading of drivers: test/rdb_workloads/lots_of_tables.rb, test/rql_test/server_test.rb, test/rql_test/connections/http.rb
JavaScript hard coded and/or unchecked loading of drivers: test/rql_test/connections/connection.js, test/rql_test/connections/cursor.js, test/rql_test/connections/date.js, test/rql_test/connections/feeds.js, test/rql_test/connections/http.js, test/rql_test/connections/promise.js
FYI: The scripts in bench are mostly deprecated. We should delete all of them except for set-corecount and set-scheduler maybe, which are still useful.
Unless we are still using the old stress-client for some tests, in which case we would also have to keep bench/stress-client (@AtnNn?).
Activity
Replace sys.path.append( with sys.path.insert(0, (#711)
AtnNn commentedon Apr 25, 2013
Created review 443 for @wmrowan for the python tests.
The other tests still need to be checked.
coffeemug commentedon May 6, 2013
Moving to 1.6, as this isn't essential to shipping 1.5.
AtnNn commentedon Jul 11, 2014
@larkost is there anything left to do to fix this issue?
larkost commentedon Jul 12, 2014
I thought that I would do just a little more cleanup, and be done with at least the Python part of it, but it is turning into a large project. As a bit of a preview on this here is a estimation of what needs to be done:
benchneed to be evaluated. If they need changes this is at least 40 files to touchdrivers/ruby/quickstart.rbprobably needs to make sure that it isloading the driver it thinks it isscripts/spin_up_clusterandscripts/spin_up_cluster_with_name_conflictshould either be removed, or harmonized with the testing infrastructuretest/common/driver.py::find_rethinkdb_executableshould be placed intotest/common/utils.pyand harmonized with the techniques theretest/common/test_report.pyshould probably make sure that it is getting the version of the database that is being tested by asking the executabletest/common/unit.pyshould use the tools fromtest/common/utils.pytest/rql_test/drivers/driver.rbandtest/rql_test/drivers/driver.jsneed to verify that they are getting the driver they expect (Python version does).test/rdb_workloads/lots_of_tables.rb,test/rql_test/server_test.rb,test/rql_test/connections/http.rbtest/rql_test/connections/connection.js,test/rql_test/connections/cursor.js,test/rql_test/connections/date.js,test/rql_test/connections/feeds.js,test/rql_test/connections/http.js,test/rql_test/connections/promise.jslarkost commentedon Jul 12, 2014
That last is in addition to the Python cleanup work that is already either in-progress or done.
danielmewes commentedon Jul 16, 2014
FYI: The scripts in
benchare mostly deprecated. We should delete all of them except forset-corecountandset-schedulermaybe, which are still useful.Unless we are still using the old stress-client for some tests, in which case we would also have to keep
bench/stress-client(@AtnNn?).AtnNn commentedon Jul 16, 2014
bench/stress-clientshould have already been deleted. It uses the memcache protocol, which rethinkdb doesn't support.larkost commentedon Jul 22, 2014
@danielmewes can I ask you to clean out
bench? That would solve other problems as well.danielmewes commentedon Jul 22, 2014
@larkost in CR 1811
20 remaining items
(redone) initial commit for #711 Some of the driver tests test the in…
(redone) initial commit for #711 Some of the driver tests test the in…
(redone) initial commit for #711 Some of the driver tests test the in…
(redone) initial commit for #711 Some of the driver tests test the in…
(redone) initial commit for #711 Some of the driver tests test the in…
(redone) initial commit for #711 Some of the driver tests test the in…
(redone) initial commit for #711 Some of the driver tests test the in…
merge of #711 Some of the driver tests test the installed driver
larkost commentedon Oct 22, 2014
Merged into
nextwith 1256ac0