@@ -129,7 +129,6 @@ stages:
129
129
# E2E Tests
130
130
- job :
131
131
displayName : E2E Tests (SQLite)
132
- # currently disabled due to DB locks randomly occuring.
133
132
condition : eq(${{parameters.sqliteAcceptanceTests}}, True)
134
133
timeoutInMinutes : 180
135
134
variables :
@@ -140,22 +139,22 @@ stages:
140
139
matrix :
141
140
LinuxPart1Of3 :
142
141
vmImage : " ubuntu-latest"
143
- testCommand : " npm run test -- --shard=1/3"
142
+ testCommand : " npm run testSqlite -- --shard=1/3"
144
143
LinuxPart2Of3 :
145
144
vmImage : " ubuntu-latest"
146
- testCommand : " npm run test -- --shard=2/3"
145
+ testCommand : " npm run testSqlite -- --shard=2/3"
147
146
LinuxPart3Of3 :
148
147
vmImage : " ubuntu-latest"
149
- testCommand : " npm run test -- --shard=3/3"
148
+ testCommand : " npm run testSqlite -- --shard=3/3"
150
149
WindowsPart1Of3 :
151
150
vmImage : " windows-latest"
152
- testCommand : " npm run test -- --shard=1/3"
151
+ testCommand : " npm run testSqlite -- --shard=1/3"
153
152
WindowsPart2Of3 :
154
153
vmImage : " windows-latest"
155
- testCommand : " npm run test -- --shard=2/3"
154
+ testCommand : " npm run testSqlite -- --shard=2/3"
156
155
WindowsPart3Of3 :
157
156
vmImage : " windows-latest"
158
- testCommand : " npm run test -- --shard=3/3"
157
+ testCommand : " npm run testSqlite -- --shard=3/3"
159
158
pool :
160
159
vmImage : $(vmImage)
161
160
steps :
@@ -297,29 +296,29 @@ stages:
297
296
strategy :
298
297
matrix :
299
298
LinuxPart1Of3 :
300
- testCommand : " npm run testSqlite -- --shard=1/3"
299
+ testCommand : " npm run test -- --shard=1/3"
301
300
vmImage : " ubuntu-latest"
302
301
SA_PASSWORD : $(UMBRACO__CMS__UNATTENDED__UNATTENDEDUSERPASSWORD)
303
302
CONNECTIONSTRINGS__UMBRACODBDSN : " Server=(local);Database=Umbraco;User Id=sa;Password=$(SA_PASSWORD);Encrypt=True;TrustServerCertificate=True"
304
303
LinuxPart2Of3 :
305
- testCommand : " npm run testSqlite -- --shard=2/3"
304
+ testCommand : " npm run test -- --shard=2/3"
306
305
vmImage : " ubuntu-latest"
307
306
SA_PASSWORD : $(UMBRACO__CMS__UNATTENDED__UNATTENDEDUSERPASSWORD)
308
307
CONNECTIONSTRINGS__UMBRACODBDSN : " Server=(local);Database=Umbraco;User Id=sa;Password=$(SA_PASSWORD);Encrypt=True;TrustServerCertificate=True"
309
308
LinuxPart3Of3 :
310
- testCommand : " npm run testSqlite -- --shard=3/3"
309
+ testCommand : " npm run test -- --shard=3/3"
311
310
vmImage : " ubuntu-latest"
312
311
SA_PASSWORD : $(UMBRACO__CMS__UNATTENDED__UNATTENDEDUSERPASSWORD)
313
312
CONNECTIONSTRINGS__UMBRACODBDSN : " Server=(local);Database=Umbraco;User Id=sa;Password=$(SA_PASSWORD);Encrypt=True;TrustServerCertificate=True"
314
313
WindowsPart1Of3 :
315
314
vmImage : " windows-latest"
316
- testCommand : " npm run testSqlite -- --shard=1/3"
315
+ testCommand : " npm run test -- --shard=1/3"
317
316
WindowsPart2Of3 :
318
317
vmImage : " windows-latest"
319
- testCommand : " npm run testSqlite -- --shard=2/3"
318
+ testCommand : " npm run test -- --shard=2/3"
320
319
WindowsPart3Of3 :
321
320
vmImage : " windows-latest"
322
- testCommand : " npm run testSqlite -- --shard=3/3"
321
+ testCommand : " npm run test -- --shard=3/3"
323
322
pool :
324
323
vmImage : $(vmImage)
325
324
steps :
0 commit comments