@Test
  public void testNoPasswordPrompt() throws Exception {
    List<String> argList = getBaseArgs(miniHS2.getBaseJdbcURL());
    argList.add("-n");
    argList.add("hive");
    argList.add("--force=true");
    argList.add("-e");
    argList.add("show tables;");
    String output = connectBeelineWithUserPrompt(argList);
    Assert.assertTrue("Table name " + tableName + " not found in the output",
        output.contains(tableName.toLowerCase()));
  }
Tests if beeline doesn't prompt for a password and connects with empty password
when no password option provided
itests/hive-unit/src/test/java/org/apache/hive/beeline/TestBeelinePasswordOption.java