Update tests to support servers where phoenix.schema.isNamespaceMappingEnabled is set to true.
Project: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/commit/46dd5d3b Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/tree/46dd5d3b Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/diff/46dd5d3b Branch: refs/heads/master Commit: 46dd5d3b11a7037ffca88fb8cc747ee2ccba5288 Parents: 1bdda70 Author: Francis Chuang <francis.chu...@boostport.com> Authored: Mon Sep 26 18:55:03 2016 +1000 Committer: Julian Hyde <jh...@apache.org> Committed: Thu Aug 10 18:47:09 2017 -0700 ---------------------------------------------------------------------- driver_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/46dd5d3b/driver_test.go ---------------------------------------------------------------------- diff --git a/driver_test.go b/driver_test.go index f1cb982..fc3c626 100644 --- a/driver_test.go +++ b/driver_test.go @@ -867,7 +867,7 @@ func TestLastInsertIDShouldReturnError(t *testing.T) { runTests(t, dsn, func(dbt *DBTest) { - dbt.mustExec(`DROP SEQUENCE IF EXISTS test.test_sequence`) + dbt.mustExec(`DROP SEQUENCE IF EXISTS test_sequence`) dbt.mustExec(`CREATE TABLE ` + dbt.tableName + ` ( id INTEGER PRIMARY KEY, @@ -875,11 +875,11 @@ func TestLastInsertIDShouldReturnError(t *testing.T) { version INTEGER ) TRANSACTIONAL=true`) - dbt.mustExec(`CREATE SEQUENCE test.test_sequence`) + dbt.mustExec(`CREATE SEQUENCE test_sequence`) - res, err := dbt.db.Exec(`UPSERT INTO ` + dbt.tableName + ` VALUES(NEXT VALUE FOR test.test_sequence, 'abc', 1)`) + res, err := dbt.db.Exec(`UPSERT INTO ` + dbt.tableName + ` VALUES(NEXT VALUE FOR test_sequence, 'abc', 1)`) - dbt.mustExec(`DROP SEQUENCE test.test_sequence`) + dbt.mustExec(`DROP SEQUENCE test_sequence`) if err != nil { dbt.Fatal(err)