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 lukesneeringer committed Nov 15, 2017
1 parent 00fbbdc commit fe98017
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 fe98017

Please sign in to comment.