Author: jacopoc
Date: Fri Mar 28 14:36:44 2014
New Revision: 1582762

URL: http://svn.apache.org/r1582762
Log:
Fixed tests failing for DST differences between server and client: the time 
difference can be 1 or to 2 hours.

Modified:
    
ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/test/ProductionRunTests.xml

Modified: 
ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/test/ProductionRunTests.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/test/ProductionRunTests.xml?rev=1582762&r1=1582761&r2=1582762&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/test/ProductionRunTests.xml
 (original)
+++ 
ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/test/ProductionRunTests.xml
 Fri Mar 28 14:36:44 2014
@@ -273,9 +273,11 @@ under the License.
             <if-compare-field field="productionRunTask.estimatedStartDate" 
operator="equals" to-field="productionRunNewStartDate" type="Timestamp"/>
             <or>
                 <if-compare field="taskTimeDifference" operator="equals" 
value="0.0" type="Double"/>
-                <!-- a difference of +1 or -1 hour is accepted because it 
could be caused by DST change happening in one of the two time periods -->
+                <!-- a difference of +/- 1 or 2 hours is accepted because it 
could be caused by DST change happening in one of the two time periods -->
                 <if-compare field="taskTimeDifference" operator="equals" 
value="3600000.0" type="Double"/>
                 <if-compare field="taskTimeDifference" operator="equals" 
value="-3600000.0" type="Double"/>
+                <if-compare field="taskTimeDifference" operator="equals" 
value="7200000.0" type="Double"/>
+                <if-compare field="taskTimeDifference" operator="equals" 
value="-7200000.0" type="Double"/>
             </or>
         </assert>
         <check-errors/>


Reply via email to