224 Commits

Author SHA1 Message Date
Daylon Wilkins
a6716c1490 Added dolt revert 2021-08-11 12:54:20 -07:00
Zach Musgrave
c4a0f9acac Merge pull request #2005 from dolthub/zachmu/1131
[no-release-notes] Reskip accidentally unskipped bats test
2021-08-11 12:13:48 -07:00
Zach Musgrave
58f3aaf5d5 Re-skipping test I accidentally unskipped 2021-08-11 11:23:49 -07:00
Zach Musgrave
53c6723197 Merge pull request #2004 from dolthub/zachmu/1131
Regression test for issue 1131
2021-08-11 11:22:20 -07:00
Zach Musgrave
a89988f992 Merge pull request #1998 from dolthub/zachmu/836
Bats test for return code behavior of checking out current branch
2021-08-11 11:21:05 -07:00
Zach Musgrave
ac23a248d2 Merge pull request #1994 from dolthub/zachmu/562
Added a test for git config and HOME env var
2021-08-11 11:16:13 -07:00
Zach Musgrave
4e8e3b96ca Fixed bad test name 2021-08-11 10:57:05 -07:00
Zach Musgrave
1201262158 Regression test for issue 1131 2021-08-11 10:50:43 -07:00
Zach Musgrave
028be482ee Bats test for checking out the same branch 2021-08-10 15:33:24 -07:00
Zach Musgrave
d82e8f7c5f Added skipped bats test for error in #751 2021-08-10 14:44:41 -07:00
Zach Musgrave
1096cef1fa Added a test for git config and HOME env var 2021-08-10 13:36:30 -07:00
Zach Musgrave
9941c75e1d Merge pull request #1993 from dolthub/zachmu/560
Fix and unskip keyword test
2021-08-10 11:08:02 -07:00
Zach Musgrave
aa8b0ec260 Fix and unskip keyword test 2021-08-10 10:25:35 -07:00
Tim Sehn
97e064bcd5 Update BATS README
Add the prerequisites to running bats tests to the README
2021-08-06 12:38:14 -07:00
Brian Hendriks
0a0ce2181c Bh/gen cs (#1938) 2021-08-05 18:20:19 -07:00
Vinai Rachakonda
6a1c5ded21 nits 2021-08-03 18:19:26 -07:00
Vinai Rachakonda
e0405cd347 updt tests 2021-08-03 18:14:52 -07:00
AndyA
a51926d02e Merge pull request #1972 from dolthub/andy/merge-abort-clean-index
Reset staging index on `dolt merge --abort`
2021-08-03 15:48:27 -07:00
Andy Arthur
d18c2e8003 set stagedRoot = workingRoot in WorkingSet.AbortMerge() 2021-08-03 15:19:10 -07:00
Andy Arthur
f6c9f227cb added skipped bats to repro dirty index after 'dolt merge --abort' 2021-08-03 15:14:54 -07:00
Zach Musgrave
1ab4f68db6 Slightly more robust test 2021-08-02 17:31:33 -07:00
Zach Musgrave
677b7d5cd7 Fixed panic in merging a branch that still contains a table that was deleted in our root 2021-08-02 17:25:35 -07:00
Zach Musgrave
9ce9d5e0b4 More tests, and fixed most of the deleted table problems in merge 2021-08-02 17:14:29 -07:00
Zach Musgrave
6c55b14ecb New merge tests, including two panics 2021-08-02 14:07:23 -07:00
Maximilian Hoffman
903684b6c8 Max/push panic (#1959)
* Fix push panic

* Fmt
2021-07-30 13:24:12 -07:00
Aaron Son
d57a17733d Merge pull request #1951 from dolthub/aaron/improve-branch-edit-workingset-management
go: env/actions/branch: Move and delete branch also update working sets.
2021-07-30 12:34:32 -07:00
AndyA
154370c3d8 Merge pull request #1958 from dolthub/andy/stage-with-conflicts
[no-release-notes] Remove conflict/constraint checks from staging
2021-07-29 19:02:50 -07:00
Andy Arthur
6a37b7e12d update test 2021-07-29 18:32:08 -07:00
Andy Arthur
1a1b051f27 more test updates 2021-07-29 17:29:57 -07:00
Andy Arthur
7571fc46c4 update test 2021-07-29 17:21:06 -07:00
Andy Arthur
723607870e remove conflict/constraint checks from staging 2021-07-29 17:13:01 -07:00
Zach Musgrave
a367bda243 Fixed dolt_checkout to correctly update the head ref var, added a bats test 2021-07-29 16:24:35 -07:00
Zach Musgrave
e54107bc74 Allow switching branches by setting the head ref system variable. Added a bats test 2021-07-29 15:51:51 -07:00
Zach Musgrave
c674d817a8 bats test for switching heads with a session var 2021-07-29 15:43:56 -07:00
Zach Musgrave
2091b10b48 Merge pull request #1949 from dolthub/zachmu/use-branch
Branch and commit-qualified database names enabled by default
2021-07-29 14:46:37 -07:00
Daylon Wilkins
6148bded9d Changed commit force to ignore conflicts and constraint violations 2021-07-29 14:12:59 -07:00
Aaron Son
3f1977561d Iterate on bats/branch.bats for windows. 2021-07-29 13:51:47 -07:00
Aaron Son
b561946f86 go: env/actions/branch: When moving a branch, also move its working set. 2021-07-29 11:11:23 -07:00
Zach Musgrave
4c7f804563 Added a server test for connecting to database at a commit hash. Added the ability to assert an exception string in the python script 2021-07-28 18:39:20 -07:00
Vinai Rachakonda
fe231a0ad1 Vinai/dolt merge ret type (#1941)
Change dolt merge ret type
2021-07-28 14:10:56 -07:00
Zach Musgrave
82ed59272e Tests for read-only error cases 2021-07-28 12:19:31 -07:00
Zach Musgrave
56f7ea3661 Somewhat hacky fix to get commit hash qualified DBs working 2021-07-28 11:42:07 -07:00
Zach Musgrave
2938edeeb5 Allow commit hashes to be used for DB qualifiers. This means we don't have a working set in this case, still many bugs there. 2021-07-27 20:39:28 -07:00
Zach Musgrave
eec245b055 Tests of using branch qualified db names in select and insert statements 2021-07-27 17:41:32 -07:00
Zach Musgrave
793979690d Added test for USE branch syntax in SQL shell 2021-07-27 17:24:14 -07:00
Zach Musgrave
a0eaa87db7 Added tests for branch-based connection strings and USE syntax 2021-07-27 15:21:35 -07:00
Zach Musgrave
fa32453e31 Added a repo name param to all server tests 2021-07-27 13:11:14 -07:00
Maximilian Hoffman
909fdf4117 keyless secondary index (#1886)
* Initial keyless secondary index

* Cleanup code

* Add bats test

remove comments

* Remove confusing diff

* Remote feature gate

* Adds index insert, delete on row, should work with update. Not concurrency safe, might need to use ActionExecutor

* Fix the cardinality issues, card stored in index value tuple, indexKey returned multiple times in lookup range iterator

* Add index unit tests

* Refactor cardCounter, add describe bats

* Remove the extraneous iea map

* Fix inRange bug

* Remove types.Tuple{} usage

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* Delete commented line

* small tuple changes

* Fix noerror mistake

* Keyless indexEd undo in it's own closure

* Fix broken foreign key reference cascades

* QOL edits re: PR feedback

* Better comment

* Delete extraneous comment

* Delete extraneous comment

* Fix noms row ReduceToIndexKeys comment

* Add basic keyless FK cascade checks

* Daylon's PR comments

* Add keyless fk bats starter

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* Skip extra bats

* Replace PK reference with keyless index, skip 2 extra testsg

* Fix bats test names

* bats test name change typo

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2021-07-26 14:52:29 -07:00
Vinai Rachakonda
02aacf5f8d Add Bats Testcase for importing and exporting timestamps (#1939)
Add testcase
2021-07-25 14:32:29 -07:00
Vinai Rachakonda
3111cc4a5b No-op bad alter table auto increment (#1930) 2021-07-21 14:24:07 -07:00