Skip to content

Commit

Permalink
[tests] Support tests on gen4
Browse files Browse the repository at this point in the history
  • Loading branch information
keeramis authored and technobly committed Aug 29, 2024
1 parent bdf3fba commit a8092e4
Show file tree
Hide file tree
Showing 28 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion user/tests/integration/communication/events/events.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
suite('Cloud events');

platform('gen3');
platform('gen3', 'gen4');

let maxEventDataSize = 0;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
suite('Cloud functions')

platform('gen3');
platform('gen3', 'gen4');

let api = null;
let auth = null;
Expand Down
2 changes: 1 addition & 1 deletion user/tests/integration/communication/ledger/ledger.spec.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
suite('Cloud variables')

platform('gen3');
platform('gen3', 'gen4');

let api = null;
let auth = null;
Expand Down
2 changes: 1 addition & 1 deletion user/tests/integration/ota/assets/assets.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
suite('Assets OTA')

platform('gen3');
platform('gen3', 'gen4');

// Some platforms have pretty slow connectivity
timeout(30 * 60 * 1000);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
suite('Minimum and maximum app size OTA');

platform('gen3');
platform('gen3', 'gen4');
systemThread('enabled');

const { HalModuleParser, ModuleInfo, compressModule, updateModuleCrc32, updateModulePrefix, updateModuleSuffix, updateModuleSha256 } = require('binary-version-reader');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
suite('Multiple OTA updates with disabled resets');

platform('gen3');
platform('gen3', 'gen4');
systemThread('enabled');

const { HalModuleParser, ModuleInfo, updateModulePrefix, updateModuleSuffix, updateModuleCrc32 } = require('binary-version-reader');
Expand Down
14 changes: 7 additions & 7 deletions user/tests/integration/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion user/tests/integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"description": "Device OS Integration Tests",
"private": true,
"dependencies": {
"@particle/device-constants": "^3.3.1",
"@particle/device-constants": "^3.5.0",
"binary-version-reader": "^2.4.0",
"chai-exclude": "^2.1.0",
"particle-api-js": "^10.4.2",
Expand Down
2 changes: 1 addition & 1 deletion user/tests/integration/runner/mailbox/mailbox.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
suite('Test runner mailbox');

platform('gen3');
platform('gen3', 'gen4');
systemThread('enabled');

let device = null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
suite('Application max size');

platform('gen3');
platform('gen3', 'gen4');
systemThread('enabled');
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// and less than 30 seconds when starting from a warm boot
suite('Network/cloud connection time SLOs');

platform('gen3');
platform('gen3', 'gen4');
systemThread('enabled');

// Parameters validated by this test
Expand Down
2 changes: 1 addition & 1 deletion user/tests/integration/slo/startup/startup-slos.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

suite('Device startup service level objectives (SLOs)');

platform('gen3');
platform('gen3', 'gen4');
// Enabling system thread, in order to account for its overhead in the measurements
systemThread('enabled');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
suite('BLE central peripheral');
platform('gen3');
platform('gen3', 'gen4');
fixture('ble_central', 'ble_peripheral');
systemThread('enabled');
// This tag should be filtered out by default
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
suite('BLE scanner broadcaster');
platform('gen3');
platform('gen3', 'gen4');
fixture('ble_scanner', 'ble_broadcaster');
systemThread('enabled');
// This tag should be filtered out by default
Expand Down
2 changes: 1 addition & 1 deletion user/tests/wiring/filesystem/filesystem.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
suite('POSIX filesystem API');

platform('gen3');
platform('gen3', 'gen4');
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
suite('Gen 3 invalid compat user app');

platform('gen3');
platform('gen3', 'gen4');
2 changes: 1 addition & 1 deletion user/tests/wiring/ledger/ledger.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
suite('Ledger API');

platform('gen3');
platform('gen3', 'gen4');
2 changes: 1 addition & 1 deletion user/tests/wiring/network_config/network_config.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
suite('Network config');

platform('gen3');
platform('gen3', 'gen4');
2 changes: 1 addition & 1 deletion user/tests/wiring/no_fixture/no_fixture.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
suite('No fixture');

platform('gen3');
platform('gen3', 'gen4');
timeout(17 * 60 * 1000);
2 changes: 1 addition & 1 deletion user/tests/wiring/no_fixture_ble/no_fixture_ble.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
suite('No fixture BLE');

platform('gen3');
platform('gen3', 'gen4');
2 changes: 1 addition & 1 deletion user/tests/wiring/no_fixture_i2c/no_fixture_i2c.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
suite('No fixture I2C');

platform('gen3');
platform('gen3', 'gen4');
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
suite('No fixture long running');

platform('gen3');
platform('gen3', 'gen4');
timeout(32 * 60 * 1000);
2 changes: 1 addition & 1 deletion user/tests/wiring/no_fixture_spi/no_fixture_spi.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
suite('No fixture SPI');

platform('gen3');
platform('gen3', 'gen4');
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
suite('No fixture stress');

platform('gen3');
platform('gen3', 'gen4');
2 changes: 1 addition & 1 deletion user/tests/wiring/strformat/strformat.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
suite('String format');

platform('gen3');
platform('gen3', 'gen4');
2 changes: 1 addition & 1 deletion user/tests/wiring/time_compat/time_compat.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
suite('time_t 32/64-bit compatibility');

platform('gen3');
platform('gen3', 'gen4');
2 changes: 1 addition & 1 deletion user/tests/wiring/watchdog/watchdog.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
suite('Watchdog');

platform('gen3');
platform('gen3', 'gen4');
timeout(5 * 60 * 1000);

0 comments on commit a8092e4

Please sign in to comment.