minor, fix smoke test scripts affected by cache
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/42bf1b56 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/42bf1b56 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/42bf1b56 Branch: refs/heads/1.5.x-HBase1.x Commit: 42bf1b5627002e268d8b848b8219a3776f41bc81 Parents: 96dc57b Author: lidongsjtu <lid...@apache.org> Authored: Sat Apr 30 10:10:52 2016 +0800 Committer: lidongsjtu <lid...@apache.org> Committed: Sat Apr 30 10:11:01 2016 +0800 ---------------------------------------------------------------------- build/smoke-test/sql/sql1.json | 2 -- build/smoke-test/testQuery.py | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/42bf1b56/build/smoke-test/sql/sql1.json ---------------------------------------------------------------------- diff --git a/build/smoke-test/sql/sql1.json b/build/smoke-test/sql/sql1.json index b0b7c77..7cb3258 100644 --- a/build/smoke-test/sql/sql1.json +++ b/build/smoke-test/sql/sql1.json @@ -3,13 +3,11 @@ "partial": false, "affectedRowCount": 0, "isException": false, - "storageCacheUsed": false, "results": [ [ "10000" ] ], - "hitExceptionCache": false, "exceptionMessage": null, "totalScanCount": 1, "columnMetas": [ http://git-wip-us.apache.org/repos/asf/kylin/blob/42bf1b56/build/smoke-test/testQuery.py ---------------------------------------------------------------------- diff --git a/build/smoke-test/testQuery.py b/build/smoke-test/testQuery.py index 3772333..5656e66 100644 --- a/build/smoke-test/testQuery.py +++ b/build/smoke-test/testQuery.py @@ -52,6 +52,8 @@ class testQuery(unittest.TestCase): actual_result = json.loads(response.text) print 'Query duration: ' + str(actual_result['duration']) + 'ms' del actual_result['duration'] + del actual_result['hitExceptionCache'] + del actual_result['storageCacheUsed'] expect_result = json.loads(open(sql_file[:-4] + '.json').read().strip()) self.assertEqual(actual_result, expect_result, 'Query result does not equal.')