Merge pull request #2968 from citusdata/insert_isolation_duplicate_test

Changed the duplicate test into missing test
pull/2952/head
Önder Kalacı 2019-09-13 15:31:54 +02:00 committed by GitHub
commit 48b7fbb9e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -42,19 +42,19 @@ count
9
starting permutation: s1-initialize s1-begin s1-insert-multi-row s2-insert s1-commit s1-select-count
starting permutation: s1-initialize s1-begin s1-insert-multi-row s2-insert-multi-row s1-commit s1-select-count
create_distributed_table
step s1-initialize: COPY insert_hash FROM PROGRAM 'echo 0, a && echo 1, b && echo 2, c && echo 3, d && echo 4, e' WITH CSV;
step s1-begin: BEGIN;
step s1-insert-multi-row: INSERT INTO insert_hash VALUES(7, 'k'), (8, 'l'), (9, 'm');
step s2-insert: INSERT INTO insert_hash VALUES(7, 'k');
step s2-insert-multi-row: INSERT INTO insert_hash VALUES(7, 'k'), (8, 'l'), (9, 'm');
step s1-commit: COMMIT;
step s1-select-count: SELECT COUNT(*) FROM insert_hash;
count
9
11
starting permutation: s1-initialize s1-begin s1-insert s2-insert-select s1-commit s1-select-count
create_distributed_table

View File

@ -64,7 +64,7 @@ step "s2-distribute-table" { SELECT create_distributed_table('insert_hash', 'id'
permutation "s1-initialize" "s1-begin" "s1-insert" "s2-insert" "s1-commit" "s1-select-count"
permutation "s1-initialize" "s1-begin" "s1-insert" "s2-insert-multi-row" "s1-commit" "s1-select-count"
permutation "s1-initialize" "s1-begin" "s1-insert-multi-row" "s2-insert" "s1-commit" "s1-select-count"
permutation "s1-initialize" "s1-begin" "s1-insert-multi-row" "s2-insert" "s1-commit" "s1-select-count"
permutation "s1-initialize" "s1-begin" "s1-insert-multi-row" "s2-insert-multi-row" "s1-commit" "s1-select-count"
# permutations - INSERT first
permutation "s1-initialize" "s1-begin" "s1-insert" "s2-insert-select" "s1-commit" "s1-select-count"