fix database infra test
method do return active database infras