Date timeBeforeDownstreamCheckin = new Date();
Thread.sleep( 2000 );
ScmFileSet updateFileSet = new ScmFileSet( getUpdatingCopy() );
provider.update( mainRepository, updateFileSet );
ScmTestCase.makeFile( getUpdatingCopy(), "/pom.xml", "changed pom.xml" );
ScmTestCase.makeFile( getUpdatingCopy(), "/src/test/java/Test.java", "changed again Test.java" );
checkInResult = provider.checkIn( mainRepository, updateFileSet, "downstream workspace promote" );
assertTrue( "Unable to checkin changes to the repository", checkInResult.isSuccess() );