Click here to have an overview of the commits
Details
Details
- Reviewers
DataDrake - Group Reviewers
Triage Team - Commits
- R3585:217ce548ba3b: Update mongo-tools to 4.0.5
- Enabled unit tests
- Restore a database with mongorestore --archive=test.20150715.archive --db test
- Dump a datbase with mongodump --archive=test.20150715.archive --db test
Diff Detail
Diff Detail
- Repository
- R3585 mongo-tools
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Packaging go stuff in solbuild can really be a PITA, especially when upstream changes their build scripts.
It's working now, but the unit tests fail for mongorestore and mongoreplay and I have no idea why:
+ cd mongorestore + go test # _/home/build/YPKG/root/mongo-tools/build/mongo-tools.git/mongorestore ./filepath.go:363: Logvf call has arguments but no formatting directives FAIL _/home/build/YPKG/root/mongo-tools/build/mongo-tools.git/mongorestore [build failed] Command '['/bin/bash', '--norc', '--noprofile', '/tmp/ypkg-check6FwVCX']' returned non-zero exit status 2 [Build] check failed + cd mongoreplay + go test # _/home/build/YPKG/root/mongo-tools/build/mongo-tools.git/mongoreplay ./packet_handler.go:66: logWrapper.Logvf call has arguments but no formatting directives FAIL _/home/build/YPKG/root/mongo-tools/build/mongo-tools.git/mongoreplay [build failed] Command '['/bin/bash', '--norc', '--noprofile', '/tmp/ypkg-checkx4YBfH']' returned non-zero exit status 2 [Build] check failed
When you take a look at the source you can see there *is* a formatting directive. So I disabled unit tests for now.