CLOUD-344 fix checkstyle issue in consul test