@Test
  public void testQueryProgressWithHiveServer2ProgressBarDisabled()
      throws Throwable {
    final String SCRIPT_TEXT =
        "set hive.support.concurrency = false;\nset hive.server2.in.place.progress=false;\n" +
            "select count(*) from " + tableName + ";\n";
    // Check for part of log message as well as part of progress information
    final String EXPECTED_PATTERN = "(?=Reducer 2\\:).*(?=Map 1\\:)";
    testScriptFile(SCRIPT_TEXT, getBaseArgs(miniHS2.getBaseJdbcURL()), OutStream.ERR,
        Arrays.asList(
            new Tuple<>(EXPECTED_PATTERN, true),
            new Tuple<>("ELAPSED TIME", false))
    );
  }
Test Beeline will hide the query progress when silent option is set.
@throws Throwable
itests/hive-unit/src/test/java/org/apache/hive/beeline/TestBeeLineWithArgs.java