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:10:39 UTC
[ranger] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/ranger.git
The following commit(s) were added to refs/heads/master by this push:
new 7977252 RANGER-2696: Fix unit test failure in TestPolicyEngine.testValiditySchedulerApplicable
7977252 is described below
commit 797725221637736ae5a9836ff994477a8c5b8fd8
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": {