-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: set id #250
feat: set id #250
Conversation
Unit Test Results 🚀445 tests +5 444 ✅ +4 1m 18s ⏱️ +2s For more details on these failures, see this check. Results for commit 4f878b1. ± Comparison against base commit 04894bf. ♻️ This comment has been updated with latest results. |
sdk-java/src/main/java/ly/count/sdk/java/internal/ModuleDeviceIdCore.java
Outdated
Show resolved
Hide resolved
sdk-java/src/test/java/ly/count/sdk/java/internal/ModuleDeviceIdTests.java
Show resolved
Hide resolved
sdk-java/src/test/java/ly/count/sdk/java/internal/ModuleDeviceIdTests.java
Show resolved
Hide resolved
sdk-java/src/test/java/ly/count/sdk/java/internal/ModuleDeviceIdTests.java
Outdated
Show resolved
Hide resolved
sdk-java/src/test/java/ly/count/sdk/java/internal/ModuleDeviceIdTests.java
Show resolved
Hide resolved
sdk-java/src/main/java/ly/count/sdk/java/internal/ModuleDeviceIdCore.java
Outdated
Show resolved
Hide resolved
validateDeviceIdWithMergeChange(oldDeviceId, 1, 2); | ||
TestUtils.flushCurrentRQWithOldDeviceId(oldDeviceId); // clean current rq with old device id requests | ||
|
||
deviceID.value += "1"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well It is a little bit complicated validation. Because it is atomic it needed that way but I can set it more readeble
Assert.assertEquals(0, TestUtils.getCurrentEQ().size()); // size should change because it is not a merge request | ||
|
||
Assert.assertEquals(2, callCount.get()); | ||
validateDeviceIdWithoutMergeChange(3, TestUtils.DEVICE_ID, false); // there should be 1 began, 1 events request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is, did not it seem correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeap gives an error when I run
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cooked enough
No description provided.