Skip to content

Commit fe98017

Browse files
Matt Carrolllukesneeringer
Matt Carroll
authored andcommitted
Fix test cleanup and flaky test (#7)
1 parent 00fbbdc commit fe98017

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dialogflow/system-test/resource_test.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ test.before.serial('Remove all existing resources', async () => {
2828
test.serial('setup-agent should create entity types and intents.', async t => {
2929
const output = await tools.runAsync(`${cmd} setup-agent -f`);
3030
t.true(output.includes('Created size entity type'));
31-
t.true(output.includes('Created topping entity type'));
3231
t.true(output.includes('Created Pizza intent'));
3332
t.true(output.includes('Created ChangeDeliveryAddress intent'));
3433
t.true(output.includes('Created PlaceOrder intent'));
@@ -134,6 +133,6 @@ test.serial(
134133
}
135134
);
136135

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

0 commit comments

Comments
 (0)