[ABTEST-304] Test result become empty when test is completed Created: 14/Sep/20  Updated: 16/Oct/20  Resolved: 24/Sep/20

Status: Closed
Project: A/B Testing
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Bug Priority: Neutral
Reporter: Nguyen Phung Chi Assignee: Nguyen Phung Chi
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 2.5d
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: ABTEST MVP
Sprint: Add-Ons 47
Story Points: 5

 Description   

Steps to reproduce:

  1. Create and start a new test
  2. Create dummy data in DynamoDb 
  3. Check whether test result is fetched and display in the chart result tab
  4. Complete the test with "None" replacement
  5. Invalidate the caches by restart the instance
  6. Open detail of the test and check the Result tab

Actual result:

  • Nothing to show in the charts

Expected result:

  •  The test result should remain and show in the result tab.

Dev notes:

  • The root cause is TestResultProducer#createTestResults -> getTestVariants(testNode), these test variants are moved from Website repo to ABTest repo, so they got a new generated UUID which do not match with the variant id in the returned Json from Dynamo, that makes the computation goes wrong.

Generated at Sun Feb 11 22:54:54 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.