ok(bt_ctf_trace_get_environment_field_count(trace) == 3,
"bt_ctf_trace_set_environment_field_integer with an existing key does not increase the environment size");
obj = bt_ctf_trace_get_environment_field_value_by_index(trace, 1);
ok(bt_ctf_trace_get_environment_field_count(trace) == 3,
"bt_ctf_trace_set_environment_field_integer with an existing key does not increase the environment size");
obj = bt_ctf_trace_get_environment_field_value_by_index(trace, 1);