Program: 18179
Project: 18179
Buggy source:
@Test public void testSaveErrorCounts(){
  Long now=System.currentTimeMillis();
  Error errorToSave=new Error();
  errorToSave.setCategory(ErrorCategory.REQUEST.toString());
  errorToSave.setSeverity(ErrorSeverity.ERROR.toString());
  errorToSave.setDomain("String_Node_Str");
  errorToSave.setErrorId(new Long(123));
  errorToSave.setName("String_Node_Str");
  errorToSave.setOrganization("String_Node_Str");
  errorToSave.setSubDomain("String_Node_Str");
  ErrorValue errorValue=new ErrorValue();
  errorValue.setErrorId(new Long(123));
  errorValue.setConsumerName("String_Node_Str");
  errorValue.setErrorMessage("String_Node_Str");
  errorValue.setOperationName("String_Node_Str");
  errorValue.setServerName("String_Node_Str");
  errorValue.setServerSide(true);
  errorValue.setServiceAdminName("String_Node_Str");
  errorValue.setTimeStamp(now);
  int errorCountToStore=1;
  String errorValueKey="String_Node_Str";
  dao.saveErrorCounts(errorToSave,errorValue,errorValueKey,now,errorCountToStore);
  ColumnSlice<Object,Object> categoryCountColumnSlice=getColumnValues(kspace,"String_Node_Str","String_Node_Str",LongSerializer.get(),StringSerializer.get(),new Long(now));
  assertValues(categoryCountColumnSlice,now,"String_Node_Str");
  ColumnSlice<Object,Object> categoryCountAllOpsColumnSlice=getColumnValues(kspace,"String_Node_Str","String_Node_Str",LongSerializer.get(),StringSerializer.get(),new Long(now));
  assertValues(categoryCountAllOpsColumnSlice,now,"String_Node_Str");
  ColumnSlice<Object,Object> severityCountColumnSlice=getColumnValues(kspace,"String_Node_Str","String_Node_Str",LongSerializer.get(),StringSerializer.get(),new Long(now));
  assertValues(severityCountColumnSlice,now,"String_Node_Str");
  ColumnSlice<Object,Object> severityCountAllOpsColumnSlice=getColumnValues(kspace,"String_Node_Str","String_Node_Str",LongSerializer.get(),StringSerializer.get(),new Long(now));
  assertValues(severityCountAllOpsColumnSlice,now,"String_Node_Str");
}

Fixed version (ground truth):
@Test public void testSaveErrorCounts(){
  Long now=System.currentTimeMillis();
  Error errorToSave=new Error();
  errorToSave.setCategory(ErrorCategory.REQUEST.toString());
  errorToSave.setSeverity(ErrorSeverity.ERROR.toString());
  errorToSave.setDomain("String_Node_Str");
  errorToSave.setErrorId(Long.valueOf(123));
  errorToSave.setName("String_Node_Str");
  errorToSave.setOrganization("String_Node_Str");
  errorToSave.setSubDomain("String_Node_Str");
  ErrorValue errorValue=new ErrorValue();
  errorValue.setErrorId(Long.valueOf(123));
  errorValue.setConsumerName("String_Node_Str");
  errorValue.setErrorMessage("String_Node_Str");
  errorValue.setOperationName("String_Node_Str");
  errorValue.setServerName("String_Node_Str");
  errorValue.setServerSide(true);
  errorValue.setServiceAdminName("String_Node_Str");
  errorValue.setTimeStamp(now);
  int errorCountToStore=1;
  String errorValueKey="String_Node_Str";
  dao.saveErrorCounts(errorToSave,errorValue,errorValueKey,now,errorCountToStore);
  ColumnSlice<Object,Object> categoryCountColumnSlice=getColumnValues(kspace,"String_Node_Str","String_Node_Str",LongSerializer.get(),StringSerializer.get(),Long.valueOf(now));
  assertValues(categoryCountColumnSlice,now,"String_Node_Str");
  ColumnSlice<Object,Object> categoryCountAllOpsColumnSlice=getColumnValues(kspace,"String_Node_Str","String_Node_Str",LongSerializer.get(),StringSerializer.get(),Long.valueOf(now));
  assertValues(categoryCountAllOpsColumnSlice,now,"String_Node_Str");
  ColumnSlice<Object,Object> severityCountColumnSlice=getColumnValues(kspace,"String_Node_Str","String_Node_Str",LongSerializer.get(),StringSerializer.get(),Long.valueOf(now));
  assertValues(severityCountColumnSlice,now,"String_Node_Str");
  ColumnSlice<Object,Object> severityCountAllOpsColumnSlice=getColumnValues(kspace,"String_Node_Str","String_Node_Str",LongSerializer.get(),StringSerializer.get(),Long.valueOf(now));
  assertValues(severityCountAllOpsColumnSlice,now,"String_Node_Str");
}