2020-02-12 20:15:43 +01:00
|
|
|
package com.baeldung;
|
2019-10-31 20:43:47 -05:00
|
|
|
|
|
|
|
|
import org.junit.Test;
|
|
|
|
|
import org.junit.runner.RunWith;
|
|
|
|
|
import org.springframework.test.context.ContextConfiguration;
|
|
|
|
|
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
|
|
|
|
|
|
|
|
|
import com.baeldung.spring.data.es.config.Config;
|
|
|
|
|
|
|
|
|
|
/**
|
2020-05-12 21:41:51 -04:00
|
|
|
* This Manual test requires:
|
|
|
|
|
* Elasticsearch instance running on localhost:9200.
|
|
|
|
|
*
|
2020-04-29 21:23:48 -04:00
|
|
|
* The following docker command can be used:
|
|
|
|
|
* docker run -d --name es761 -p 9200:9200 -e "discovery.type=single-node" elasticsearch:7.6.1
|
2019-10-31 20:43:47 -05:00
|
|
|
*/
|
|
|
|
|
@RunWith(SpringJUnit4ClassRunner.class)
|
|
|
|
|
@ContextConfiguration(classes = Config.class)
|
|
|
|
|
public class SpringContextManualTest {
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
|
|
|
|
|
}
|
|
|
|
|
}
|