mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 06:46:40 +08:00
[Streaming] Test build fixed (#10617)
This commit is contained in:
+16
-1
@@ -1,10 +1,25 @@
|
||||
package io.ray.streaming.runtime.master;
|
||||
|
||||
import io.ray.api.Ray;
|
||||
import io.ray.streaming.runtime.BaseUnitTest;
|
||||
import java.util.HashMap;
|
||||
import org.testng.Assert;
|
||||
import org.testng.annotations.AfterMethod;
|
||||
import org.testng.annotations.BeforeMethod;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
public class JobMasterTest {
|
||||
public class JobMasterTest extends BaseUnitTest {
|
||||
|
||||
@BeforeMethod
|
||||
public void init() {
|
||||
// ray init
|
||||
Ray.init();
|
||||
}
|
||||
|
||||
@AfterMethod
|
||||
public void tearDown() {
|
||||
Ray.shutdown();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCreation() {
|
||||
|
||||
Reference in New Issue
Block a user