hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odiache...@apache.org
Subject incubator-hawq git commit: HAWQ-1080. Fixed unit-tests on local environment.
Date Tue, 04 Oct 2016 23:46:17 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master b33e4d5db -> 0abbac2d8


HAWQ-1080. Fixed unit-tests on local environment.


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

Branch: refs/heads/master
Commit: 0abbac2d8a140e79751917c62545088d7b28233a
Parents: b33e4d5
Author: Oleksandr Diachenko <odiachenko@pivotal.io>
Authored: Tue Oct 4 16:45:06 2016 -0700
Committer: Oleksandr Diachenko <odiachenko@pivotal.io>
Committed: Tue Oct 4 16:45:06 2016 -0700

----------------------------------------------------------------------
 src/backend/access/external/test/pxffilters_test.c | 3 +++
 src/backend/access/external/test/pxfheaders_test.c | 9 +++++++++
 src/backend/utils/mmgr/test/memaccounting_test.c   | 2 ++
 3 files changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0abbac2d/src/backend/access/external/test/pxffilters_test.c
----------------------------------------------------------------------
diff --git a/src/backend/access/external/test/pxffilters_test.c b/src/backend/access/external/test/pxffilters_test.c
index 65b1aef..7dc3aec 100644
--- a/src/backend/access/external/test/pxffilters_test.c
+++ b/src/backend/access/external/test/pxffilters_test.c
@@ -25,6 +25,9 @@
 #include "c.h"
 #include "../pxffilters.c"
 
+void run__const_to_str(Const* input, StringInfo result, char* expected);
+void run__const_to_str__negative(Const* input, StringInfo result, char* value);
+
 void
 test__supported_filter_type(void **state)
 {

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0abbac2d/src/backend/access/external/test/pxfheaders_test.c
----------------------------------------------------------------------
diff --git a/src/backend/access/external/test/pxfheaders_test.c b/src/backend/access/external/test/pxfheaders_test.c
index 7c79b5a..454ecdc 100644
--- a/src/backend/access/external/test/pxfheaders_test.c
+++ b/src/backend/access/external/test/pxfheaders_test.c
@@ -32,6 +32,15 @@ static extvar_t *mock_extvar = NULL;
 static char *old_pxf_remote_service_login = NULL;
 static char *old_pxf_remote_service_secret = NULL;
 
+void expect_churl_headers(const char *key, const char *value);
+void expect_churl_headers_alignment();
+void store_gucs();
+void setup_gphd_uri();
+void setup_input_data();
+void setup_external_vars();
+void expect_external_vars();
+void restore_gucs();
+
 void
 test__build_http_header__remote_login_is_null(void **state)
 {

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/0abbac2d/src/backend/utils/mmgr/test/memaccounting_test.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mmgr/test/memaccounting_test.c b/src/backend/utils/mmgr/test/memaccounting_test.c
index a946040..841d171 100644
--- a/src/backend/utils/mmgr/test/memaccounting_test.c
+++ b/src/backend/utils/mmgr/test/memaccounting_test.c
@@ -40,6 +40,8 @@
 #define AllocPointerGetChunk(ptr)	\
 					((StandardChunkHeader *)(((char *)(ptr)) - ALLOC_CHUNKHDRSZ))
 
+void write_stderr_mock(const char *fmt,...);
+
 static StringInfoData outputBuffer;
 
 /* We will capture write_stderr output using write_stderr_mock */


Mime
View raw message