test: do not use tc_user_skip for test cases
This commit is contained in:
parent
22707495ac
commit
fc12a8c4c8
|
@ -110,7 +110,7 @@ init_per_testcase(TestCase, Config0) when
|
|||
->
|
||||
case ?config(batch_size, Config0) of
|
||||
1 ->
|
||||
{skip, no_batching};
|
||||
[{skip_due_to_no_batching, true}];
|
||||
_ ->
|
||||
{ok, _} = start_echo_http_server(),
|
||||
delete_all_bridges(),
|
||||
|
@ -754,6 +754,15 @@ t_publish_templated(Config) ->
|
|||
ok.
|
||||
|
||||
t_publish_success_batch(Config) ->
|
||||
case proplists:get_bool(skip_due_to_no_batching, Config) of
|
||||
true ->
|
||||
ct:pal("this test case is skipped due to non-applicable config"),
|
||||
ok;
|
||||
false ->
|
||||
test_publish_success_batch(Config)
|
||||
end.
|
||||
|
||||
test_publish_success_batch(Config) ->
|
||||
ResourceId = ?config(resource_id, Config),
|
||||
ServiceAccountJSON = ?config(service_account_json, Config),
|
||||
TelemetryTable = ?config(telemetry_table, Config),
|
||||
|
|
Loading…
Reference in New Issue