提交 550658bf 编写于 作者: P Paul Guo 提交者: Paul Guo

Make isolation2 resgroup_views test determistic regardless of the cluster is with mirror or not.

Co-authored-by: NPaul Guo <pguo@pivotal.io>
Co-authored-by: NNing Yu <nyu@pivotal.io>
上级 8913827b
......@@ -10,7 +10,7 @@ select rsgname , groupid , num_running , num_queueing , num_queued , num_execute
default_group | 6437 | 0 | 0 | 0 | 0 | 0.00 | 0 | 0
(1 row)
select rsgname , groupid , cpu , memory_used , memory_shared_used from gp_toolkit.gp_resgroup_status_per_host s join gp_segment_configuration c on s.hostname=c.hostname and c.content=-1 where rsgname='default_group';
select rsgname , groupid , cpu , memory_used , memory_shared_used from gp_toolkit.gp_resgroup_status_per_host s join gp_segment_configuration c on s.hostname=c.hostname and c.content=-1 and role='p' where rsgname='default_group';
rsgname | groupid | cpu | memory_used | memory_shared_used
---------------+---------+------+-------------+--------------------
default_group | 6437 | 0.00 | 0 | 0
......
......@@ -21,7 +21,7 @@ select rsgname
, memory_shared_used
from gp_toolkit.gp_resgroup_status_per_host s
join gp_segment_configuration c
on s.hostname=c.hostname and c.content=-1
on s.hostname=c.hostname and c.content=-1 and role='p'
where rsgname='default_group';
select rsgname
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册