Program: 124608
Project: 124608
Buggy source:
@Test public void testDataproc11Distribution() throws Exception {
  HadoopComponent distribution=new Dataproc11Distribution();
  assertNotNull(distribution.getDistributionName());
  assertNotNull(distribution.getVersionName(null));
  assertTrue(distribution.doSupportS3());
  assertEquals(Dataproc11Distribution.DISTRIBUTION_NAME,distribution.getDistribution());
  assertEquals(Dataproc11Distribution.VERSION,distribution.getVersion());
  assertEquals(EHadoopVersion.HADOOP_2,distribution.getHadoopVersion());
  assertFalse(distribution.doSupportKerberos());
  assertTrue(distribution.doSupportUseDatanodeHostname());
  assertFalse(distribution.doSupportGroup());
  assertFalse(distribution.doSupportOldImportMode());
  assertTrue(((HDFSComponent)distribution).doSupportSequenceFileShortType());
  assertTrue(((SparkBatchComponent)distribution).isSpark20());
  assertFalse(((SparkBatchComponent)distribution).isSpark16());
  assertFalse(((SparkBatchComponent)distribution).isSpark15());
  assertFalse(((SparkBatchComponent)distribution).isSpark14());
  assertFalse(((SparkBatchComponent)distribution).isSpark13());
  assertTrue(((SparkBatchComponent)distribution).doSupportDynamicMemoryAllocation());
  assertFalse(((SparkBatchComponent)distribution).isExecutedThroughSparkJobServer());
  assertFalse(((SparkBatchComponent)distribution).doSupportSparkStandaloneMode());
  assertTrue(((SparkBatchComponent)distribution).doSupportSparkYarnClientMode());
  assertTrue(((SparkStreamingComponent)distribution).isSpark20());
  assertFalse(((SparkStreamingComponent)distribution).isSpark16());
  assertFalse(((SparkStreamingComponent)distribution).isSpark15());
  assertFalse(((SparkStreamingComponent)distribution).isSpark14());
  assertFalse(((SparkStreamingComponent)distribution).isSpark13());
  assertTrue(((SparkStreamingComponent)distribution).doSupportDynamicMemoryAllocation());
  assertFalse(((SparkStreamingComponent)distribution).isExecutedThroughSparkJobServer());
  assertTrue(((SparkStreamingComponent)distribution).doSupportCheckpointing());
  assertFalse(((SparkStreamingComponent)distribution).doSupportSparkStandaloneMode());
  assertTrue(((SparkStreamingComponent)distribution).doSupportSparkYarnClientMode());
  assertTrue(((SparkStreamingComponent)distribution).doSupportBackpressure());
}

Fixed version (ground truth):
@Test public void testDataproc11Distribution() throws Exception {
  HadoopComponent distribution=new Dataproc11Distribution();
  assertNotNull(distribution.getDistributionName());
  assertNotNull(distribution.getVersionName(null));
  assertFalse(distribution.doSupportS3());
  assertEquals(Dataproc11Distribution.DISTRIBUTION_NAME,distribution.getDistribution());
  assertEquals(Dataproc11Distribution.VERSION,distribution.getVersion());
  assertEquals(EHadoopVersion.HADOOP_2,distribution.getHadoopVersion());
  assertFalse(distribution.doSupportKerberos());
  assertFalse(distribution.doSupportUseDatanodeHostname());
  assertFalse(distribution.doSupportGroup());
  assertTrue(distribution.doSupportOldImportMode());
  assertTrue(((HDFSComponent)distribution).doSupportSequenceFileShortType());
  assertTrue(((SparkBatchComponent)distribution).isSpark20());
  assertFalse(((SparkBatchComponent)distribution).isSpark16());
  assertFalse(((SparkBatchComponent)distribution).isSpark15());
  assertFalse(((SparkBatchComponent)distribution).isSpark14());
  assertFalse(((SparkBatchComponent)distribution).isSpark13());
  assertTrue(((SparkBatchComponent)distribution).doSupportDynamicMemoryAllocation());
  assertFalse(((SparkBatchComponent)distribution).isExecutedThroughSparkJobServer());
  assertFalse(((SparkBatchComponent)distribution).doSupportSparkStandaloneMode());
  assertTrue(((SparkBatchComponent)distribution).doSupportSparkYarnClientMode());
  assertTrue(((SparkStreamingComponent)distribution).isSpark20());
  assertFalse(((SparkStreamingComponent)distribution).isSpark16());
  assertFalse(((SparkStreamingComponent)distribution).isSpark15());
  assertFalse(((SparkStreamingComponent)distribution).isSpark14());
  assertFalse(((SparkStreamingComponent)distribution).isSpark13());
  assertTrue(((SparkStreamingComponent)distribution).doSupportDynamicMemoryAllocation());
  assertFalse(((SparkStreamingComponent)distribution).isExecutedThroughSparkJobServer());
  assertTrue(((SparkStreamingComponent)distribution).doSupportCheckpointing());
  assertFalse(((SparkStreamingComponent)distribution).doSupportSparkStandaloneMode());
  assertTrue(((SparkStreamingComponent)distribution).doSupportSparkYarnClientMode());
  assertTrue(((SparkStreamingComponent)distribution).doSupportBackpressure());
}