hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [01/17] incubator-hawq git commit: HAWQ-1122. Fix feature test case failures which are introduced by GPORCA upgradation.
Date Fri, 28 Oct 2016 03:53:04 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master dc14ecbaf -> d641f364e


HAWQ-1122. Fix feature test case failures which are introduced by GPORCA upgradation.


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/d641f364
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/d641f364
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/d641f364

Branch: refs/heads/master
Commit: d641f364e2197e0101dcc0d19aff455a838984ec
Parents: 70fab40
Author: Paul Guo <paulguo@gmail.com>
Authored: Thu Oct 27 13:59:00 2016 +0800
Committer: rlei <rlei@pivotal.io>
Committed: Fri Oct 28 11:52:20 2016 +0800

----------------------------------------------------------------------
 src/test/feature/catalog/test_alter_table.cpp | 2 +-
 src/test/feature/query/test_insert.cpp        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/d641f364/src/test/feature/catalog/test_alter_table.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/catalog/test_alter_table.cpp b/src/test/feature/catalog/test_alter_table.cpp
index d88cc2a..f50677a 100644
--- a/src/test/feature/catalog/test_alter_table.cpp
+++ b/src/test/feature/catalog/test_alter_table.cpp
@@ -67,7 +67,7 @@ TEST_F(TestAlterTable, TestAlterTableAOColumnNOTNULL) {
   util.execute("alter table altable alter column c set not null");
 
   util.execute("insert into altable(a,b) values(13,'13')", false);
-  std::string errstr = "ERROR:  null value in column \"c\" violates "
+  std::string errstr = "WARNING:  null value in column \"c\" violates "
                        "not-null constraint";
   EXPECT_STREQ(errstr.c_str(),
                util.getPSQL()->getLastResult().substr(0, errstr.size()).c_str());

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/d641f364/src/test/feature/query/test_insert.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/query/test_insert.cpp b/src/test/feature/query/test_insert.cpp
index 1e05b9c..d6c7c0d 100644
--- a/src/test/feature/query/test_insert.cpp
+++ b/src/test/feature/query/test_insert.cpp
@@ -53,7 +53,7 @@ TEST_F(TestQueryInsert, TestInsertWithDefaultNeg) {
   util.execute("insert into inserttest(col1, col2, col3) "
 							"values(default, default, default)",
 			   false);
-  std::string errstr = "ERROR:  null value in column \"col2\" "
+  std::string errstr = "WARNING:  null value in column \"col2\" "
 		               "violates not-null constraint";
   EXPECT_STREQ(errstr.c_str(),
                util.getPSQL()->getLastResult().substr(0, errstr.size()).c_str());


Mime
View raw message