Skip to content

Commit

Permalink
Fix test cleanup and flaky test (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Carroll authored and NimJay committed Nov 18, 2022
1 parent 5a49027 commit 06510cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dialogflow/system-test/resource_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ test.before.serial('Remove all existing resources', async () => {
test.serial('setup-agent should create entity types and intents.', async t => {
const output = await tools.runAsync(`${cmd} setup-agent -f`);
t.true(output.includes('Created size entity type'));
t.true(output.includes('Created topping entity type'));
t.true(output.includes('Created Pizza intent'));
t.true(output.includes('Created ChangeDeliveryAddress intent'));
t.true(output.includes('Created PlaceOrder intent'));
Expand Down Expand Up @@ -134,6 +133,6 @@ test.serial(
}
);

test.after.serial('Setting up agent for other tests', async () => {
test.after.always('Setting up agent for other tests', async () => {
await tools.runAsync(`${cmd} restore-room-agent -f`);
});

0 comments on commit 06510cb

Please sign in to comment.