Skip to content

Commit

Permalink
[hotfix] remove failing Druid test
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Nov 4, 2016
1 parent 98afc3e commit 1d7d546
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion caravel/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1958,7 +1958,6 @@ def recursive_get_fields(_conf):
del qry['dimensions']
client.timeseries(**qry)
if len(groupby) == 1:

qry['threshold'] = timeseries_limit or 1000
if row_limit and granularity == 'all':
qry['threshold'] = row_limit
Expand Down
14 changes: 0 additions & 14 deletions tests/druid_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,20 +142,6 @@ def test_client(self, PyDruid):
resp = self.get_json_resp(url)
self.assertEqual("Canada", resp['data']['records'][0]['name'])

# no groupby
url = (
'/caravel/explore_json/druid/{}/?viz_type=table&granularity=one+day&'
'druid_time_origin=&since=7+days+ago&until=now&row_limit=5000&'
'include_search=false&metrics=count&'
'flt_col_0=dim1&'
'flt_op_0=in&flt_eq_0=&slice_id=&slice_name=&collapsed_fieldsets=&'
'action=&datasource_name=test_datasource&datasource_id={}&'
'datasource_type=druid&previous_viz_type=table&'
'force=true'.format(datasource_id, datasource_id))
resp = self.get_json_resp(url)
self.assertEqual(
"2012-01-01T00:00:00", resp['data']['records'][0]['timestamp'])

def test_druid_sync_from_config(self):
CLUSTER_NAME = 'new_druid'
self.login()
Expand Down

0 comments on commit 1d7d546

Please sign in to comment.