From e03defc30f12b59761a2bac252c45b71acfe6a66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Fri, 2 Nov 2018 10:21:53 +0100 Subject: [PATCH] Add cache-buster to hit database always --- test/acceptance/user-database-timeout-limit.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/test/acceptance/user-database-timeout-limit.js b/test/acceptance/user-database-timeout-limit.js index c3364ab2..af5667e6 100644 --- a/test/acceptance/user-database-timeout-limit.js +++ b/test/acceptance/user-database-timeout-limit.js @@ -24,11 +24,23 @@ const validationPointSleepSql = ` 2 val `; +const cartoCSSPoints = () => ` +// cache buster: ${Date.now()} +#layer{ + marker-placement: point; + marker-allow-overlap: true; + marker-line-opacity: 0.2; + marker-line-width: 0.5; + marker-opacity: 1; + marker-width: 5; + marker-fill: red; +}`; + const createMapConfig = ({ version = '1.6.0', type = 'cartodb', sql = pointSleepSql, - cartocss = TestClient.CARTOCSS.POINTS, + cartocss = cartoCSSPoints(), cartocss_version = '2.3.0', interactivity = 'cartodb_id', countBy = 'cartodb_id',