File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 31
31
import java .io .IOException ;
32
32
import java .util .concurrent .ExecutionException ;
33
33
34
- public class InstantiateInlineWorkflow {
34
+ public class InstantiateInlineWorkflowTemplate {
35
35
36
- public static void InstantiateInlineWorkflow () throws IOException , InterruptedException {
36
+ public static void instantiateInlineWorkflowTemplate () throws IOException , InterruptedException {
37
37
// TODO(developer): Replace these variables before running the sample.
38
38
String projectId = "your-project-id" ;
39
39
String region = "your-project-region" ;
40
- instantiateInlineWorkflow (projectId , region );
40
+ instantiateInlineWorkflowTemplate (projectId , region );
41
41
}
42
42
43
- public static void instantiateInlineWorkflow (String projectId , String region )
43
+ public static void instantiateInlineWorkflowTemplate (String projectId , String region )
44
44
throws IOException , InterruptedException {
45
45
String myEndpoint = String .format ("%s-dataproc.googleapis.com:443" , region );
46
46
Original file line number Diff line number Diff line change 28
28
import org .junit .runners .JUnit4 ;
29
29
30
30
@ RunWith (JUnit4 .class )
31
- public class InstantiateInlineWorkflowTest {
31
+ public class InstantiateInlineWorkflowTemplateTest {
32
32
33
33
34
34
private static final String REGION = "us-central1" ;
@@ -55,8 +55,8 @@ public void setUp() {
55
55
}
56
56
57
57
@ Test
58
- public void InstanstiateInlineWorkflowTest () throws IOException , InterruptedException {
59
- InstantiateInlineWorkflow . instantiateInlineWorkflow (PROJECT_ID , REGION );
58
+ public void instanstiateInlineWorkflowTest () throws IOException , InterruptedException {
59
+ InstantiateInlineWorkflowTemplate . instantiateInlineWorkflowTemplate (PROJECT_ID , REGION );
60
60
String output = bout .toString ();
61
61
62
62
assertThat (output , CoreMatchers .containsString ("successfully" ));
You can’t perform that action at this time.
0 commit comments