Skip to content

Commit 9e476da

Browse files
committed
remove useless tests
1 parent 06486e4 commit 9e476da

1 file changed

Lines changed: 0 additions & 44 deletions

File tree

integration-tests/go-sql-server-driver/tests/sql-server-orig.yaml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -246,50 +246,6 @@ tests:
246246
rows:
247247
- ["0","1","2","3","4","5"]
248248
- ["1","1","2","3","4","5"]
249-
- name: COPY into a table with a conflicting primary key (no IGNORE equivalent)
250-
skip: "Postgres COPY errors on a primary-key conflict and has no equivalent of MySQL's LOAD DATA ... IGNORE; the Postgres idiom is INSERT ... ON CONFLICT DO NOTHING"
251-
repos:
252-
- name: repo1
253-
with_files:
254-
- name: "1pk5col-ints.csv"
255-
source_path: "testdata/1pk5col-ints.csv"
256-
server:
257-
args: []
258-
dynamic_port: server1
259-
connections:
260-
- on: repo1
261-
queries:
262-
- exec: "CREATE TABLE test(pk int primary key, c1 int, c2 int, c3 int, c4 int, c5 int)"
263-
- exec: "INSERT INTO test VALUES (0, 0, 0, 0, 0, 0)"
264-
- exec: "COPY test FROM '1pk5col-ints.csv' WITH (FORMAT csv, HEADER)"
265-
- query: "SELECT * FROM test"
266-
result:
267-
columns: ["pk","c1","c2","c3","c4","c5"]
268-
rows:
269-
- ["0","0","0","0","0","0"]
270-
- ["1","1","2","3","4","5"]
271-
- name: COPY into a table with a conflicting primary key (no REPLACE equivalent)
272-
skip: "Postgres COPY errors on a primary-key conflict and has no equivalent of MySQL's LOAD DATA ... REPLACE; the Postgres idiom is INSERT ... ON CONFLICT DO UPDATE"
273-
repos:
274-
- name: repo1
275-
with_files:
276-
- name: "1pk5col-ints.csv"
277-
source_path: "testdata/1pk5col-ints.csv"
278-
server:
279-
args: []
280-
dynamic_port: server1
281-
connections:
282-
- on: repo1
283-
queries:
284-
- exec: "CREATE TABLE test(pk int primary key, c1 int, c2 int, c3 int, c4 int, c5 int)"
285-
- exec: "INSERT INTO test VALUES (0, 0, 0, 0, 0, 0)"
286-
- exec: "COPY test FROM '1pk5col-ints.csv' WITH (FORMAT csv, HEADER)"
287-
- query: "SELECT * FROM test"
288-
result:
289-
columns: ["pk","c1","c2","c3","c4","c5"]
290-
rows:
291-
- ["0","1","2","3","4","5"]
292-
- ["1","1","2","3","4","5"]
293249
- name: JSON queries
294250
repos:
295251
- name: repo1

0 commit comments

Comments
 (0)