You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by ab...@apache.org on 2020/01/13 18:12:46 UTC

[ranger] branch ranger-2.0 updated: RANGER-2696: Fix unit test failure in TestPolicyEngine.testValiditySchedulerApplicable

This is an automated email from the ASF dual-hosted git repository.

abhay pushed a commit to branch ranger-2.0
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/ranger-2.0 by this push:
     new 7c34c9f  RANGER-2696: Fix unit test failure in TestPolicyEngine.testValiditySchedulerApplicable
7c34c9f is described below

commit 7c34c9f8d0e629a78b1489995fabd8e28af75184
Author: Abhay Kulkarni <ab...@apache.org>
AuthorDate: Mon Jan 13 09:57:00 2020 -0800

    RANGER-2696: Fix unit test failure in TestPolicyEngine.testValiditySchedulerApplicable
---
 .../test-validity-schedules-valid-and-applicable.json                 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/agents-common/src/test/resources/policyengine/validityscheduler/test-validity-schedules-valid-and-applicable.json b/agents-common/src/test/resources/policyengine/validityscheduler/test-validity-schedules-valid-and-applicable.json
index b0b0f8d..7648909 100644
--- a/agents-common/src/test/resources/policyengine/validityscheduler/test-validity-schedules-valid-and-applicable.json
+++ b/agents-common/src/test/resources/policyengine/validityscheduler/test-validity-schedules-valid-and-applicable.json
@@ -49,7 +49,7 @@
     "validitySchedules": [
       {
         "startTime": "",
-        "endTime": "2020/01/12 14:30:00"
+        "endTime": "2050/01/12 14:30:00"
       }
     ],
     "accessTime": "20180112-14:32:27.000-0800",
@@ -371,7 +371,7 @@
     "validitySchedules": [
       {
         "startTime": "2018/01/01 00:00:00",
-        "endTime": "2050/02/03 12:16:00",
+        "endTime": "2020/02/03 12:16:00",
         "recurrences": [
           {
             "schedule": {