Commit Graph

11 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
f7ba17a685 chore: run shfmt 2022-07-25 01:15:32 -04:00
Jose Diaz-Gonzalez
fefed14b39 tests: skip tests that require tty for github actions 2021-04-25 00:35:42 -04:00
Jose Diaz-Gonzalez
9b8fabc2e7 feat: Real docker-based testing
This pull request switches testing to use an actual docker daemon, vs mocking everything out.

It may also catch actual breaking issues in our tests, which is great!
2019-03-18 14:44:27 -04:00
Jose Diaz-Gonzalez
bc6a5422d6 fix: correct the validation message 2019-03-09 16:39:34 -05:00
Jose Diaz-Gonzalez
ae0f3acad7 fix: correct broken tests 2018-04-10 23:55:12 -04:00
Joseph Cutrono
75571ad7f2 using gzip as standard for backup and restore. upgrading mongo version. 2017-10-23 00:13:04 -04:00
Edgars Beigarts
822a0259f9 Fix exit code for mongo:export when SSH_TTY is not present 2016-02-24 09:16:59 +02:00
Jacob Williams
179b4984a3 Redirect mongodump stdout to stderr
In version 3.x, the output of mongodump is on stderr, but on 2.6.x
it writes information to stdout. This change doesn't break 3.x in
my tests but prevents extraneous junk in beginning of the tar file
when exporting in 2.6.x.

Updated test to match redirect in exec command.
2015-12-07 23:59:55 -06:00
Jacob Williams
3d30b6ca35 remove = after -o in mongodump command
The -o= seems to work fine in 3.x but in 2.x it actually includes the equals sign in the path, resulting in "/=/tmp/tmp.XXXXXX". The mongodump command docs for neither 2.x nor 3.x list the equals sign as part of the -o or --out parameter. It seems to work fine in 3.x with or without the equals sign.

Updated test to reflect change to -o
2015-12-07 23:57:17 -06:00
Loïc Guitaut
31cefc9387 Use authentication when creating database 2015-09-15 22:38:19 +02:00
Loïc Guitaut
61f2afb099 Implement export, import and clone commands 2015-09-14 23:12:40 +02:00