diff --git a/tests/k6/scripts/generate_all_tests.ps1 b/tests/k6/scripts/generate_all_tests.ps1 index ee1af14d4..6bfea6ede 100644 --- a/tests/k6/scripts/generate_all_tests.ps1 +++ b/tests/k6/scripts/generate_all_tests.ps1 @@ -10,7 +10,7 @@ if (-not (Test-Path $DirectoryPath -PathType Container)) { } # Get all *.js files in the directory except for "all-tests.js" -$jsFiles = Get-ChildItem -Path $DirectoryPath -Filter "*.js" | Where-Object { $_.Name -ne "all-tests.js" } +$jsFiles = Get-ChildItem -Path $DirectoryPath -Filter "*.js" | Where-Object { $_.Name -ne "all-tests.js" } | Where-Object { $_.Directory.FullName.Contains("/performance/") } # Create the import strings $importStatements = $jsFiles | ForEach-Object {