Added logic to handle test in CI server, since we have no configuration can not collect metrics.