Skip to content

test(dup): Extract Interface properties unset test from simple flow#1539

Draft
AliouneGaye21 wants to merge 1 commit intoastarte-platform:release-1.2from
AliouneGaye21:dup_simple_flow_unset
Draft

test(dup): Extract Interface properties unset test from simple flow#1539
AliouneGaye21 wants to merge 1 commit intoastarte-platform:release-1.2from
AliouneGaye21:dup_simple_flow_unset

Conversation

@AliouneGaye21
Copy link
Contributor

@AliouneGaye21 AliouneGaye21 commented Oct 10, 2025

Moves the device disconnection logic from the monolithic
data_updater_test into its own dedicated test file.<!-- Thanks for sending a pull request! Here are some tips for you:

  1. If this is your first time, take a look at our developer guide (TODO link dev guide)!
  2. Make sure to check these marks:
    -->

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?
  • Yes
  • No

Additional documentation e.g. usage docs, diagrams, etc.:


@codecov
Copy link

codecov bot commented Oct 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.53%. Comparing base (26acda8) to head (0cd4192).

Additional details and impacted files
@@               Coverage Diff               @@
##           release-1.2    #1539      +/-   ##
===============================================
- Coverage        83.62%   83.53%   -0.09%     
===============================================
  Files              290      290              
  Lines             6949     6949              
===============================================
- Hits              5811     5805       -6     
- Misses            1138     1144       +6     

see 1 file with indirect coverage changes

Flag Coverage Δ
astarte_data_updater_plant 84.25% <ø> (-0.31%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AliouneGaye21 AliouneGaye21 changed the title test(dup): Extract device disconnection test from simple flow test(dup): Extract Interface properties unset test from simple flow Oct 10, 2025
@AliouneGaye21 AliouneGaye21 requested review from a team, Annopaolo, eddbbt and noaccOS and removed request for a team October 10, 2025 13:37
Copy link
Collaborator

@Annopaolo Annopaolo left a comment

Choose a reason for hiding this comment

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

Looks good, it just needs a rebase!

# limitations under the License.
#

defmodule Astate.DataUpdaterPlant.UnsetTest do
Copy link
Collaborator

Choose a reason for hiding this comment

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

why do we need a different module? unset is still a functionality of data updater

@AliouneGaye21 AliouneGaye21 marked this pull request as draft March 6, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants