From ea69bea591c6fe5aaa6afe59c258e21291a5a30a Mon Sep 17 00:00:00 2001 From: Albert Louis Rossi Date: Thu, 9 Nov 2023 09:11:36 -0600 Subject: [PATCH] Fixed QoSPolicyTest duration strings --- .../common/src/test/java/org/dcache/qos/QoSPolicyTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/common/src/test/java/org/dcache/qos/QoSPolicyTest.java b/modules/common/src/test/java/org/dcache/qos/QoSPolicyTest.java index ab6998487e1..02b86b574e2 100644 --- a/modules/common/src/test/java/org/dcache/qos/QoSPolicyTest.java +++ b/modules/common/src/test/java/org/dcache/qos/QoSPolicyTest.java @@ -185,10 +185,10 @@ public void shouldDeserializePolicyCorrectly() { private void givenAQoSPolicy() { policy = aQoSPolicy("MyAnalysisData") .withStates( - aQoSState().lasting("P1M") + aQoSState().lasting("P1D") .with(aDiskSpecification("SSD").withCopies(2).partitionedBy("hostname"), aDiskSpecification("spinning").withCopies(1)), - aQoSState().lasting("P3M") + aQoSState().lasting("P3D") .with(aDiskSpecification("spinning").withCopies(2) .partitionedBy("hostname"), aTapeSpecification("CTA").withInstance("CTA::public")),