Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ describe("NewRelicObservability test", () => {
testPollingOptions,
);
assert.equal(res.name, resourcename);
await delay(100000);
await delay(isPlaybackMode() ? 1000 : 100000);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kazrael2119 Could check any other places have similar issue and then fix them?

});

it("monitors get test", async function () {
Expand All @@ -117,11 +117,8 @@ describe("NewRelicObservability test", () => {

it("monitors delete test", async function () {
const resArray = new Array();
const res = await client.monitors.beginDeleteAndWait(
resourceGroup,
"[email protected]",
resourcename,
);
const res = await client.monitors.beginDeleteAndWait(resourceGroup, "[email protected]", resourcename, testPollingOptions
)
for await (let item of client.monitors.listByResourceGroup(resourceGroup)) {
resArray.push(item);
}
Expand Down