Skip to content

Commit

Permalink
debugging travis failures
Browse files Browse the repository at this point in the history
  • Loading branch information
schauder committed Oct 26, 2018
1 parent c164d7b commit 0f734f3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ install:

script:
- mvn -version
- mvn clean dependency:list test -U -Dsort -Dmaven.test.redirectTestOutputToFile=true -B
- mvn clean dependency:list test -U -Dsort -B
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,16 @@
@SolrDocument(collection = "techproducts")
public class Product {

// debugging: testing the constructor does not change
static {Product p = new Product("id", "name", null, null, null,true, null, null);
}

private @Id String id;
private @Indexed String name;
private @Indexed(name = "cat") List<String> category;
private @Indexed(name = "store") Point location;
private @Indexed String description;
private @Indexed boolean inStock;
private @Indexed Boolean inStock;
private @Indexed Integer popularity;
private @Score Float score;
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
@SpringBootTest
public class BasicSolrRepositoryTests {



@Rule @Autowired public InfrastructureRule requiresRunningServer;

@Autowired ProductRepository repository;
Expand Down

0 comments on commit 0f734f3

Please sign in to comment.