Fix replset and sharding integration tests #555
ci.yml
on: pull_request
Puppet
/
Static validations
18s
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet
/
Test suite
0s
Annotations
6 errors
Puppet / 8 (Ruby 3.2):
spec/unit/puppet/provider/mongodb_database/mongodb_spec.rb#L46
Puppet::Type::Mongodb_database::ProviderMongodb self.instances returns an array of dbs
Failure/Error: dbs = JSON.parse mongo_eval('EJSON.stringify(db.getMongo().getDBs())')
#<Puppet::Type::Mongodb_database::ProviderMongodb (class)> received :mongo_eval with unexpected arguments
expected: ("db.getMongo().setReadPref(\"primaryPreferred\");EJSON.stringify(db.getMongo().getDBs())")
got: ("EJSON.stringify(db.getMongo().getDBs())")
Please stub a default value first if message might be received with other args as well.
|
Puppet / 8 (Ruby 3.2):
spec/unit/puppet/provider/mongodb_database/mongodb_spec.rb#L68
Puppet::Type::Mongodb_database::ProviderMongodb exists? checks if database exists
Failure/Error: dbs = JSON.parse mongo_eval('EJSON.stringify(db.getMongo().getDBs())')
#<Puppet::Type::Mongodb_database::ProviderMongodb (class)> received :mongo_eval with unexpected arguments
expected: ("db.getMongo().setReadPref(\"primaryPreferred\");EJSON.stringify(db.getMongo().getDBs())")
got: ("EJSON.stringify(db.getMongo().getDBs())")
Please stub a default value first if message might be received with other args as well.
|
Puppet / 8 (Ruby 3.2)
Process completed with exit code 1.
|
Puppet / 7 (Ruby 2.7):
spec/unit/puppet/provider/mongodb_database/mongodb_spec.rb#L46
Puppet::Type::Mongodb_database::ProviderMongodb self.instances returns an array of dbs
Failure/Error: dbs = JSON.parse mongo_eval('EJSON.stringify(db.getMongo().getDBs())')
#<Puppet::Type::Mongodb_database::ProviderMongodb (class)> received :mongo_eval with unexpected arguments
expected: ("db.getMongo().setReadPref(\"primaryPreferred\");EJSON.stringify(db.getMongo().getDBs())")
got: ("EJSON.stringify(db.getMongo().getDBs())")
Please stub a default value first if message might be received with other args as well.
|
Puppet / 7 (Ruby 2.7):
spec/unit/puppet/provider/mongodb_database/mongodb_spec.rb#L68
Puppet::Type::Mongodb_database::ProviderMongodb exists? checks if database exists
Failure/Error: dbs = JSON.parse mongo_eval('EJSON.stringify(db.getMongo().getDBs())')
#<Puppet::Type::Mongodb_database::ProviderMongodb (class)> received :mongo_eval with unexpected arguments
expected: ("db.getMongo().setReadPref(\"primaryPreferred\");EJSON.stringify(db.getMongo().getDBs())")
got: ("EJSON.stringify(db.getMongo().getDBs())")
Please stub a default value first if message might be received with other args as well.
|
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.
|