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

[AstarteDeviceSDKCSharp]: Update e2e workflow #55

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
id: astarte
uses: astarte-platform/astarte-cluster-action@v1
with:
astarte_version: "1.0.4"
astarte_version: "1.1.1"
- name: Checkout sources
uses: actions/checkout@v3
- name: Install interface
Expand Down
6 changes: 0 additions & 6 deletions AstarteDeviceSDKCSharpE2E.Tests/AstarteAggregateDeviceTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,6 @@ public async void AggregateFromServerToDevice()

Dictionary<string, object> data = astarteMockDevice.MockDataDictionary;

data.Remove("datetime_endpoint");
data.Remove("datetimearray_endpoint");

Thread.Sleep(500);

await astarteHttpRequestTest
Expand All @@ -140,13 +137,10 @@ public void ValueReceived(AstarteAggregateDatastreamEvent e)
dynamic jsonInfo = JsonConvert.SerializeObject(e.GetValues());

Dictionary<string, object> data = astarteMockDevice.MockDataDictionary;
data["datetime_endpoint"] = new DateTime();
data["datetimearray_endpoint"] = new DateTime[0];

astarteAggregateData = JsonConvert.DeserializeObject
<MockDataDevice>(jsonInfo.ToString());


Assert.True(AstarteMockDevice.MockData.Equals(astarteAggregateData));
}
}
Expand Down
Loading