File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed
test/java/com/google/appengine/sparkdemo Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1919 <maven .compiler.source>1.8</maven .compiler.source>
2020
2121 <appengine .maven.plugin>1.0.0</appengine .maven.plugin>
22+ <app .stage.artifact>${project.build.directory} /spark-1.0-jar-with-dependencies.jar</app .stage.artifact>
2223 </properties >
2324
2425 <dependencies >
4445 </dependency >
4546 <dependency >
4647 <groupId >com.google.cloud</groupId >
47- <artifactId >google-cloud</artifactId >
48- <version >0.4.0 </version >
48+ <artifactId >google-cloud-datastore </artifactId >
49+ <version >0.8.1-beta </version >
4950 </dependency >
5051 </dependencies >
5152 <build >
8384 <mainClass >com.google.appengine.sparkdemo.Main</mainClass >
8485 <arguments >
8586 <argument >-jar</argument >
86- <argument >target /spark-1.0-jar-with-dependencies.jar</argument >
87+ <argument >${app.stage.stagingDirectory} /spark-1.0-jar-with-dependencies.jar</argument >
8788 </arguments >
8889 </configuration >
8990 </plugin >
File renamed without changes.
Original file line number Diff line number Diff line change 3131import com .google .cloud .datastore .testing .LocalDatastoreHelper ;
3232import com .google .common .collect .Iterators ;
3333
34+ import org .joda .time .Duration ;
3435import org .junit .AfterClass ;
3536import org .junit .Before ;
3637import org .junit .BeforeClass ;
3738import org .junit .Test ;
3839
3940import java .io .IOException ;
4041import java .util .List ;
42+ import java .util .concurrent .TimeoutException ;
4143
4244public class UserServiceTest {
4345
@@ -72,8 +74,8 @@ public void setUp() {
7274 }
7375
7476 @ AfterClass
75- public static void afterClass () throws IOException , InterruptedException {
76- HELPER .stop ();
77+ public static void afterClass () throws IOException , InterruptedException , TimeoutException {
78+ HELPER .stop (Duration . standardMinutes ( 1 ) );
7779 }
7880
7981 @ Test
Original file line number Diff line number Diff line change 9898 <module >flexible/mailjet</module >
9999 <module >flexible/memcache</module >
100100 <module >flexible/sendgrid</module >
101- <!--
102101 <module >flexible/sparkjava</module >
103- -->
104102 <module >flexible/static-files</module >
105103 <module >flexible/twilio</module >
106104 <module >language/analysis</module >
You can’t perform that action at this time.
0 commit comments