|  | @@ -7,14 +7,12 @@
 | 
	
		
			
				|  |  |  package org.elasticsearch.xpack.core.ml.job.config;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import org.elasticsearch.ElasticsearchStatusException;
 | 
	
		
			
				|  |  | -import org.elasticsearch.Version;
 | 
	
		
			
				|  |  |  import org.elasticsearch.common.io.stream.Writeable;
 | 
	
		
			
				|  |  |  import org.elasticsearch.common.unit.ByteSizeUnit;
 | 
	
		
			
				|  |  |  import org.elasticsearch.common.unit.ByteSizeValue;
 | 
	
		
			
				|  |  |  import org.elasticsearch.core.Nullable;
 | 
	
		
			
				|  |  |  import org.elasticsearch.core.TimeValue;
 | 
	
		
			
				|  |  |  import org.elasticsearch.test.AbstractXContentSerializingTestCase;
 | 
	
		
			
				|  |  | -import org.elasticsearch.test.VersionUtils;
 | 
	
		
			
				|  |  |  import org.elasticsearch.xcontent.XContentParser;
 | 
	
		
			
				|  |  |  import org.elasticsearch.xpack.core.ml.MlConfigVersion;
 | 
	
		
			
				|  |  |  import org.elasticsearch.xpack.core.ml.job.process.autodetect.state.ModelSnapshot;
 | 
	
	
		
			
				|  | @@ -294,7 +292,7 @@ public class JobUpdateTests extends AbstractXContentSerializingTestCase<JobUpdat
 | 
	
		
			
				|  |  |          updateBuilder.setPerPartitionCategorizationConfig(new PerPartitionCategorizationConfig(true, randomBoolean()));
 | 
	
		
			
				|  |  |          updateBuilder.setCustomSettings(customSettings);
 | 
	
		
			
				|  |  |          updateBuilder.setModelSnapshotId(randomAlphaOfLength(10));
 | 
	
		
			
				|  |  | -        updateBuilder.setJobVersion(MlConfigVersion.fromVersion(VersionUtils.randomCompatibleVersion(random(), Version.CURRENT)));
 | 
	
		
			
				|  |  | +        updateBuilder.setJobVersion(MlConfigVersionUtils.randomCompatibleVersion(random()));
 | 
	
		
			
				|  |  |          updateBuilder.setModelPruneWindow(TimeValue.timeValueDays(randomIntBetween(1, 100)));
 | 
	
		
			
				|  |  |          JobUpdate update = updateBuilder.build();
 | 
	
		
			
				|  |  |  
 |