diff --git a/packages/osd-plugin-helpers/src/integration_tests/build.test.ts b/packages/osd-plugin-helpers/src/integration_tests/build.test.ts index 2d49132cb112..fac2ec1b53e3 100644 --- a/packages/osd-plugin-helpers/src/integration_tests/build.test.ts +++ b/packages/osd-plugin-helpers/src/integration_tests/build.test.ts @@ -42,12 +42,17 @@ import globby from 'globby'; import loadJsonFile from 'load-json-file'; const OPENSEARCH_DASHBOARDS_VERSION = '1.0.0'; +const OPENSEARCH_DASHBOARDS_VERSION_X = '1.0.0.x'; const PLUGIN_DIR = Path.resolve(REPO_ROOT, 'plugins/foo_test_plugin'); const PLUGIN_BUILD_DIR = Path.resolve(PLUGIN_DIR, 'build'); const PLUGIN_ARCHIVE = Path.resolve( PLUGIN_BUILD_DIR, `fooTestPlugin-${OPENSEARCH_DASHBOARDS_VERSION}.zip` ); +const PLUGIN_ARCHIVE_X = Path.resolve( + PLUGIN_BUILD_DIR, + `fooTestPlugin-${OPENSEARCH_DASHBOARDS_VERSION_X}.zip` +); const TMP_DIR = Path.resolve(__dirname, '__tmp__'); expect.addSnapshotSerializer(createReplaceSerializer(/[\d\.]+ sec/g, '