View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004719 | Compliance Test Tool (CTT) Unified Architecture | 1 - Script Issue | public | 2019-04-04 10:45 | 2020-04-17 15:20 |
Reporter | Mircea Suciu | Assigned To | Paul Hunkar | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Platform | Windows | OS | Windows 7 | OS Version | Proffesional |
Product Version | 1.03.340.380 | ||||
Summary | 0004719: Float variable values that cannot be represented (binary) entirely but only approximated, produce errors on assertions in tests | ||||
Description | Given a float variable value that cannot be represented (binary) entirely but only approximated ex: 96.123456 that is approximated to 96.12345886230469. The above mentioned test cases fail due to a bug in the test case/test helper methods. The initialValueOverride value is set to be equal to the aproximated value 95.12345886230469. The demonstration that this is a problem on the CTT side can be done by the attached Wireshark capture, that clearly shows that the value send to the server via WriteRequest (pckt 28) is equal to the one received in the data change notification (pckt 33), therefore the server side does not produce a loss of float value precision. | ||||
Steps To Reproduce | Write such a float value (ex: 96.123456) to a Float variable configured under the CTT's "Settings.ServerTest.NodeIds.Static.AllProfiles.Scalar" set of nodes. | ||||
Additional Information | A Wireshark capture of the situation is attached. | ||||
Tags | No tags attached. | ||||
Files Affected | |||||
|
The latest version of the CTT processes number comparison in a different manner - which should make this issue go away |
|
Please confirm that the issue no longer occurs in latest version of the CTT |
|
This issue we think was fixed by other updates, we can't reproduce it on the current CTT |
|
reviewed in CMP meeting |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-04-04 10:45 | Mircea Suciu | New Issue | |
2019-04-05 14:43 | Paul Hunkar | Assigned To | => Alexander Allmendinger |
2019-04-05 14:43 | Paul Hunkar | Status | new => assigned |
2019-04-05 14:46 | Paul Hunkar | Status | assigned => feedback |
2019-04-05 14:46 | Paul Hunkar | Note Added: 0010119 | |
2019-08-12 05:08 | Paul Hunkar | Note Added: 0010774 | |
2020-03-20 18:34 | Paul Hunkar | Assigned To | Alexander Allmendinger => Paul Hunkar |
2020-03-20 18:34 | Paul Hunkar | Status | feedback => resolved |
2020-03-20 18:34 | Paul Hunkar | Resolution | open => unable to reproduce |
2020-03-20 18:34 | Paul Hunkar | Note Added: 0011793 | |
2020-04-17 15:20 | Paul Hunkar | Status | resolved => closed |
2020-04-17 15:20 | Paul Hunkar | Note Added: 0011934 |