arrow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject arrow git commit: ARROW-1352: [Integration] Added specific formatting for producer consumer output
Date Mon, 14 Aug 2017 23:42:18 GMT
Repository: arrow
Updated Branches:
  refs/heads/master 142f74e78 -> a2f432392


ARROW-1352: [Integration] Added specific formatting for producer consumer output

Changed output of integration tests to give a specific format when indicating producer/consumer.
 The new output will look like this:

```
-- Creating binary inputs
-- Validating file
-- Validating stream
##########################################################
Java producing, C++ consuming
##########################################################
==========================================================
Testing file /home/bryan/git/arrow/integration/data/struct_example.json
==========================================================
-- Creating binary inputs
-- Validating file
-- Validating stream
```

Author: Bryan Cutler <cutlerb@gmail.com>

Closes #963 from BryanCutler/integration-producer-format-ARROW-1352 and squashes the following
commits:

7e2b8ba [Bryan Cutler] added header formatting for producer consumer output


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

Branch: refs/heads/master
Commit: a2f432392fa57dfba46ace4b33eb6eb270618ce8
Parents: 142f74e
Author: Bryan Cutler <cutlerb@gmail.com>
Authored: Mon Aug 14 19:42:09 2017 -0400
Committer: Wes McKinney <wes.mckinney@twosigma.com>
Committed: Mon Aug 14 19:42:09 2017 -0400

----------------------------------------------------------------------
 integration/integration_test.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/arrow/blob/a2f43239/integration/integration_test.py
----------------------------------------------------------------------
diff --git a/integration/integration_test.py b/integration/integration_test.py
index b7f1609..4653948 100644
--- a/integration/integration_test.py
+++ b/integration/integration_test.py
@@ -789,8 +789,10 @@ class IntegrationRunner(object):
             self._compare_implementations(producer, consumer)
 
     def _compare_implementations(self, producer, consumer):
-        print('-- {0} producing, {1} consuming'.format(producer.name,
+        print('##########################################################')
+        print('{0} producing, {1} consuming'.format(producer.name,
                                                        consumer.name))
+        print('##########################################################')
 
         for json_path in self.json_files:
             print('==========================================================')


Mime
View raw message