Commit Graph

46 Commits

Author SHA1 Message Date
Tim Vaillancourt
8f42dedef8
Add GO111MODULE=off to build.sh, use Golang 1.16 (#966)
* Add GO111MODULE=off to build.sh

* Use golang 1.16

* Update go version in README.md

* Add missing GO111MODULE=off

* Add missing GO111MODULE=off again

* Use go1.16.3 explicitly

* Use 1.16 for CI test

* Update min go version

* Use go 1.16.4
2021-05-25 13:22:28 +02:00
Tim Vaillancourt
c71dbf9ef3
Copy auto increment (#967)
* v1.1.0

* WIP: copying AUTO_INCREMENT value to ghost table
Initial commit: towards setting up a test suite

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>

* greping for 'expect_table_structure' content

* Adding simple test for 'expect_table_structure' scenario

* adding tests for AUTO_INCREMENT value after row deletes. Should initially fail

* clear event beforehand

* parsing AUTO_INCREMENT from alter query, reading AUTO_INCREMENT from original table, applying AUTO_INCREMENT value onto ghost table if applicable and user has not specified AUTO_INCREMENT in alter statement

* support GetUint64

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>

* minor update to test

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>

* adding test for user defined AUTO_INCREMENT statement

Co-authored-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-05-14 15:32:56 +02:00
Shlomi Noach
90ab2368dd graceful sleep; remove extra debug info 2019-08-11 15:21:04 +03:00
Shlomi Noach
1305ff6e01 debug info 2019-08-11 15:17:48 +03:00
Zach Moazeni
84fe34b22c
Bump default-retries to 3
There are some legitimate retries that can occur during testing. Namely
`logic.ExpectProcess()` (in `applier.go`). We'll look for a process that
does exist, but timing-wise doesn't have the `state` or `info` columns
populated.

Without this, the test will fail abruptly.
2019-06-10 09:24:03 -04:00
Shlomi Noach
c37ea5dea0
Merge branch 'master' into tests-updates 2019-02-10 11:24:19 +02:00
Shlomi Noach
b8e02df0fe reading original_sql_mode once 2018-10-16 10:22:59 +03:00
Shlomi Noach
789d247d83 localtests support throttle flag file 2018-10-16 09:47:30 +03:00
Shlomi Noach
08637009a6 supporting modified sql_mode 2018-05-15 13:47:33 +03:00
Shlomi Noach
db9a12a6cf Added spatial (GEOMETRY, POINT) tests 2018-03-05 09:06:58 +02:00
Shlomi Noach
07a4a69049 quiet grep 2018-02-26 18:44:36 +02:00
Shlomi Noach
49b3917d2b skipping wording 2018-02-26 18:43:41 +02:00
Shlomi Noach
9061d4fa5b 5.5 excluded tests 2018-02-26 18:38:39 +02:00
Shlomi Noach
a9ead9e0f0 5.5 excluded tests 2018-02-26 18:24:42 +02:00
Shlomi Noach
df9dd49a47 support for ignored versions 2018-02-26 15:22:50 +02:00
Shlomi Noach
00a4d1f960 prebuilt binary for localtests 2018-02-26 14:32:58 +02:00
Shlomi Noach
482a521253 outputting test log file on error 2018-02-12 11:14:40 +02:00
Shlomi Noach
3d59f2fbd2 /tmp path 2018-02-11 15:03:42 +02:00
Shlomi Noach
9b0efd0d93 delegating to 127.0.0.1 2018-02-11 14:58:16 +02:00
Shlomi Noach
4515e91490 tests more verbose 2018-02-11 14:08:39 +02:00
Shlomi Noach
8a59d7e823 failing on PK value change 2017-11-08 11:11:17 +02:00
Shlomi Noach
0fd4603ae6 minor updates to test 2017-11-01 09:52:04 +02:00
Shlomi Noach
5b51a2863a better diff output in localtests 2017-10-24 15:25:08 +03:00
Shlomi Noach
087a6cc0cb Merge branch 'master' into touch-postpone-flag-file 2017-10-17 16:02:11 +03:00
Shlomi Noach
c2186db527 Merge branch 'master' into touch-postpone-flag-file 2017-10-02 15:55:21 +03:00
Shlomi Noach
5db266e4fa tests expecting ROW binlog format, gracefully waiting for replication to catch up 2017-10-02 15:52:31 +03:00
Shlomi Noach
e10add08a8 smaller chunk size for tests 2017-08-21 08:20:06 +03:00
Shlomi Noach
8f84be1f70 no --postpone-cut-over-flag-file in tests 2017-05-07 14:59:55 +03:00
Shlomi Noach
8219209c8d tests accept postpone flag file 2017-01-29 09:25:58 +02:00
Shlomi Noach
36a66e0c05 supporting customized 'order by' in tests 2017-01-10 12:35:10 +02:00
Shlomi Noach
7c22f25afa support for expected_failure explicit message 2016-10-14 09:33:25 +02:00
Shlomi Noach
e1ac5583e6 support for 'destroy' in testing 2016-10-14 09:05:38 +02:00
Shlomi Noach
c3e307537b localtests build binary once 2016-10-13 13:13:28 +02:00
Shlomi Noach
56e0833389 support for expect_failure on localtests 2016-10-10 12:28:13 +02:00
Shlomi Noach
53ef6eae5a added tests for column-reorder 2016-09-20 16:00:07 +02:00
Shlomi Noach
dc3a03ad6f added mixed-charset tests 2016-09-08 09:27:18 +02:00
Shlomi Noach
791d963ea0 Character set recognition and manipulation
- Identifying textual characters sets; converting into specific type when applying dml events
- Refactored `ColumnsList`: introducing `Column` type
- Refactored `unsigned` handling, as part of `Column`
- `Column` type supports `convertArg()`: converting value of argument according to column data type
- DB URI attempts `utf8mb4,utf8,latin1` charsets in that order (first one to be recognized wins)
- Local tests filter by pattern
- Local tests append table schema on failure
- Local tests do not have postpone flag file
- Added character set local tests: `utf8`, `utf8mb4`, `latin1`
2016-09-07 14:24:11 +02:00
Shlomi Noach
095c607f45 clarified test argument 2016-09-06 09:46:11 +02:00
Shlomi Noach
0adf258b13 added charset tests 2016-09-06 09:36:29 +02:00
Shlomi Noach
b0a2e4c650 graceful sleep for replica lag 2016-08-24 14:18:49 +02:00
Shlomi Noach
79399f446b added documentation for local tests 2016-08-24 12:51:01 +02:00
Shlomi Noach
2faa27a2c4 elaborate output on failure 2016-08-22 15:43:00 +02:00
Shlomi Noach
4c78520f3d fixed argument extrapolation 2016-08-22 12:18:02 +02:00
Shlomi Noach
745fce249c working on extra_args, incomplete 2016-08-22 11:51:03 +02:00
Shlomi Noach
a50f7637a4 working testing suite 2016-08-22 11:13:18 +02:00
Shlomi Noach
0bb8d70fce initial preparation for local tests 2016-08-22 09:20:17 +02:00