File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -200,12 +200,12 @@ TEST_P(TestVm, AlwaysApplyCanary) {
200
200
if (first) {
201
201
first = false ;
202
202
EXPECT_EQ (canary_count, 0 );
203
- continue ;
203
+ } else {
204
+ // For each create Wasm, canary should be done.
205
+ EXPECT_EQ (canary_count, 1 );
206
+ EXPECT_TRUE (TestContext::isGlobalLogged (" onConfigure: " + root_id));
204
207
}
205
208
206
- // For each create Wasm, canary should be done.
207
- EXPECT_EQ (canary_count, 1 );
208
-
209
209
if (plugin_config.empty ()) {
210
210
// canary_check.wasm should raise the error at `onConfigure` in canary when the
211
211
// `plugin_config` is empty string.
@@ -219,8 +219,6 @@ TEST_P(TestVm, AlwaysApplyCanary) {
219
219
// destroyed for each iteration.
220
220
reference_holder.insert (wasm_handle_comp);
221
221
222
- EXPECT_TRUE (TestContext::isGlobalLogged (" onConfigure: " + root_id));
223
-
224
222
// Wasm VM is unique for vm_key.
225
223
if (vm_key == vm_key_baseline) {
226
224
EXPECT_EQ (wasm_handle_baseline->wasm (), wasm_handle_comp->wasm ());
You can’t perform that action at this time.
0 commit comments