Forum Discussion

doug_bowen's avatar
doug_bowen
Occasional Contributor
7 years ago

checkpoint failing when actual values are equal to accepted values

Suddenly I'm getting a failure from a Database Checkpoint thats alerting me of the following:

 

 

The "SUM(P.ADJUSTED_TOTAL_STD_VOLUME)" field of row 0 contains a value (10928.6252034237) that differs from the stored one (10928.6252034237).

 

It does this for all 100 rows of this checkpoint, continueally telling me that my actual value does not match my expected value even though they are the exact same. Not only that, it actually lists all 100 rows twice in the Additional Info tab.  Meaning it tells me the same error occured twice.  

 

I'm using Windows Server 2008 and TestComplete 12.2

 

Has anyone seen this?

 

 

5 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Could it be a rounding error?  The actual value being returned by your SQL query could be rounded off in the report while the stored value is actually truncated at the 7.

    • doug_bowen's avatar
      doug_bowen
      Occasional Contributor

      If that's the case, should I be truncating the value using SQL?

      If so, I can update the SQL to truncate.