Skip to content
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

chore: [ANDROSDK-1973] Move TrackedEntityType api logic to network layer #2277

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

taridepaco
Copy link
Collaborator

Related task: ANDROSDK-1973

@taridepaco taridepaco self-assigned this Jan 14, 2025
Jenkinsfile Outdated
@@ -42,7 +50,11 @@ pipeline {
script {
echo 'Browserstack deployment and running tests'
sh 'chmod +x ./scripts/browserstackJenkins.sh'
sh './scripts/browserstackJenkins.sh'
retry(20) { // Retry up to 3 times
timeout(time: 5, unit: 'MINUTES') {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think 5 minutes is not enough for instrumented tests

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I changed retries instead of minutes, it should be 20


internal fun interface TrackedEntityTypeNetworkHandler {
suspend fun getTrackedEntityTypes(
optionSetUids: Set<String>,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change optionsetUids param


@Test
override fun map_from_json_string() {
val entityType = objectMapper.readValue(jsonStream, TrackedEntityType::class.java)
val EntityTypeDTO = deserialize(TrackedEntityTypeDTO.serializer())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capitalized?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants