http service: fix test
This commit is contained in:
@@ -67,6 +67,11 @@ public class Service implements SparkApplication
|
||||
|
||||
private void loadDatasource()
|
||||
{
|
||||
if (dataSource != null)
|
||||
{
|
||||
return; // unit test?
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
// It is difficult to inject things into Spark
|
||||
|
||||
Reference in New Issue
Block a user