<commit_before>package org.ihtsdo.rvf.autoscaling;

import java.util.List;

import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;
import org.springframework.transaction.annotation.Transactional;

import com.amazonaws.services.ec2.model.Instance;


@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"/testDispatcherServletContext.xml"})
@WebAppConfiguration
@Transactional
public class InstanceManagerIntegrationTest {
	@Autowired
	InstanceManager instanceManager;
	
	@Test
	public void testCreateEc2Instance() {
//		Instance instance = instanceManager.createInstance();
//		Assert.assertNotNull(instance);
//		Assert.assertNotNull(instance.getInstanceId());
//		System.out.println("Instance is created with id:" + instance.getInstanceId());
		List<Instance> result = instanceManager.getActiveInstances();
		Assert.assertNotNull(result);
//		instanceManager.terminate( Arrays.asList("i-e3021268"));
	}
}<commit_msg>Fix build failure<commit_after>package org.ihtsdo.rvf.autoscaling;

import java.util.List;

import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;
import org.springframework.transaction.annotation.Transactional;


@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"/testDispatcherServletContext.xml"})
@WebAppConfiguration
@Transactional
public class InstanceManagerIntegrationTest {
	@Autowired
	InstanceManager instanceManager;
	
	@Test
	public void testCreateEc2Instance() {
//		Instance instance = instanceManager.createInstance();
//		Assert.assertNotNull(instance);
//		Assert.assertNotNull(instance.getInstanceId());
//		System.out.println("Instance is created with id:" + instance.getInstanceId());
		List<String> result = instanceManager.getActiveInstances();
		Assert.assertNotNull(result);
//		instanceManager.terminate( Arrays.asList("i-e3021268"));
	}
}
{'fraction_non_alphanumeric': 0.11217282924802659, 'fraction_numerical': 0.009555463232239303, 'mean_word_length': 7.053511705685619, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2656942', 'n_tokens_mistral': 695, 'n_tokens_neox': 676, 'n_words': 108}