Skip to content

Commit 0f734f3

Browse files
committed
debugging travis failures
1 parent c164d7b commit 0f734f3

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ install:
4141

4242
script:
4343
- mvn -version
44-
- mvn clean dependency:list test -U -Dsort -Dmaven.test.redirectTestOutputToFile=true -B
44+
- mvn clean dependency:list test -U -Dsort -B

solr/example/src/main/java/example/springdata/solr/product/Product.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,16 @@
3838
@SolrDocument(collection = "techproducts")
3939
public class Product {
4040

41+
// debugging: testing the constructor does not change
42+
static {Product p = new Product("id", "name", null, null, null,true, null, null);
43+
}
44+
4145
private @Id String id;
4246
private @Indexed String name;
4347
private @Indexed(name = "cat") List<String> category;
4448
private @Indexed(name = "store") Point location;
4549
private @Indexed String description;
46-
private @Indexed boolean inStock;
50+
private @Indexed Boolean inStock;
4751
private @Indexed Integer popularity;
4852
private @Score Float score;
4953
}

solr/example/src/test/java/example/springdata/solr/BasicSolrRepositoryTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
@SpringBootTest
3939
public class BasicSolrRepositoryTests {
4040

41+
42+
4143
@Rule @Autowired public InfrastructureRule requiresRunningServer;
4244

4345
@Autowired ProductRepository repository;

0 commit comments

Comments
 (0)