Add live test case for database watcher #44464
+138
−0
Draft
Azure Pipelines / java - databasewatcher - mgmt - tests
failed
Mar 3, 2025 in 12m 59s
Build #20250302.2 had test failures
Details
- Failed: 1 (2.27%)
- Passed: 43 (97.73%)
- Other: 0 (0.00%)
- Total: 44
Annotations
Check failure on line 204 in Build log
azure-pipelines / java - databasewatcher - mgmt - tests
Build log #L204
PowerShell exited with code '1'.
Check failure on line 1 in c.a.r.d.DatabaseWatcherManagerTests.testCreateDatabaseWatch
azure-pipelines / java - databasewatcher - mgmt - tests
c.a.r.d.DatabaseWatcherManagerTests.testCreateDatabaseWatch
Status code 400, "{"error":{"code":"NoRegisteredProviderFound","message":"No registered resource provider found for location 'eastus2' and API version '2025-01-02' for type 'watchers'. The supported api-versions are '2023-09-01-preview, 2024-07-19-preview, 2024-10-01-preview'. The supported locations are 'australiacentral, australiasoutheast, australiaeast, canadacentral, canadaeast, centralus, eastus, eastus2, germanywestcentral, japanwest, koreacentral, northcentralus, northeurope, swedencentral, southeastasia, uksouth, westeurope, westus'."}}"
Raw output
com.azure.core.management.exception.ManagementException: Status code 400, "{"error":{"code":"NoRegisteredProviderFound","message":"No registered resource provider found for location 'eastus2' and API version '2025-01-02' for type 'watchers'. The supported api-versions are '2023-09-01-preview, 2024-07-19-preview, 2024-10-01-preview'. The supported locations are 'australiacentral, australiasoutheast, australiaeast, canadacentral, canadaeast, centralus, eastus, eastus2, germanywestcentral, japanwest, koreacentral, northcentralus, northeurope, swedencentral, southeastasia, uksouth, westeurope, westus'."}}": No registered resource provider found for location 'eastus2' and API version '2025-01-02' for type 'watchers'. The supported api-versions are '2023-09-01-preview, 2024-07-19-preview, 2024-10-01-preview'. The supported locations are 'australiacentral, australiasoutheast, australiaeast, canadacentral, canadaeast, centralus, eastus, eastus2, germanywestcentral, japanwest, koreacentral, northcentralus, northeurope, swedencentral, southeastasia, uksouth, westeurope, westus'.
at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:733)
at [email protected]/com.azure.core.implementation.MethodHandleReflectiveInvoker.invokeStatic(MethodHandleReflectiveInvoker.java:26)
at [email protected]/com.azure.core.implementation.http.rest.ResponseExceptionConstructorCache.invoke(ResponseExceptionConstructorCache.java:53)
at [email protected]/com.azure.core.implementation.http.rest.RestProxyBase.instantiateUnexpectedException(RestProxyBase.java:407)
at [email protected]/com.azure.core.implementation.http.rest.AsyncRestProxy.lambda$ensureExpectedStatus$1(AsyncRestProxy.java:135)
at [email protected]/reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:113)
at [email protected]/reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129)
at [email protected]/reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839)
at [email protected]/reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160)
at [email protected]/reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144)
at [email protected]/reactor.core.publisher.MonoFlatMapMany$FlatMapManyInner.onComplete(MonoFlatMapMany.java:260)
at [email protected]/reactor.core.publisher.FluxIterable$IterableSubscription.fastPath(FluxIterable.java:424)
at [email protected]/reactor.core.publisher.FluxIterable$IterableSubscription.request(FluxIterable.java:291)
at [email protected]/reactor.core.publisher.MonoFlatMapMany$FlatMapManyMain.onSubscribeInner(MonoFlatMapMany.java:150)
at [email protected]/reactor.core.publisher.MonoFlatMapMany$FlatMapManyInner.onSubscribe(MonoFlatMapMany.java:245)
at [email protected]/reactor.core.publisher.FluxIterable.subscribe(FluxIterable.java:201)
at [email protected]/reactor.core.publisher.FluxIterable.subscribe(FluxIterable.java:83)
at [email protected]/reactor.core.publisher.Flux.subscribe(Flux.java:8642)
at [email protected]/reactor.core.publisher.MonoFlatMapMany$FlatMapManyMain.onNext(MonoFlatMapMany.java:195)
at [email protected]/reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839)
at [email protected]/reactor.core.publisher.MonoCacheTime.subscribeOrReturn(MonoCacheTime.java:151)
at [email protected]/reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:57)
at [email protected]/reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:157)
at [email protected]/reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129)
at [email protected]/reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137)
at [email protected]/reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129)
at rea
Loading