apache / airflow-on-k8s-operator

Airflow on Kubernetes Operator
https://airflow.apache.org/
Apache License 2.0
89 stars 26 forks source link

Get e2e tests working #6

Closed barney-s closed 4 years ago

barney-s commented 4 years ago
barney-s commented 4 years ago

Tests passed


go test -v -timeout 20m test/e2e/base/base_test.go --namespace airflowop-system                                                                                                                                                               
=== RUN   Test                                                                                                                                                                                                                                
Running Suite: AirflowBase Suite                                                                                                                                                                                                              
================================                                                                                                                                                                                                              
Random Seed: 1579811766                                                                                                                                                                                                                       
Will run 2 of 2 specs                                                                                                                                                                                                                         

• [SLOW TEST:185.490 seconds]                                                                                                                                                                                                                 
AirflowBase controller tests                                                                                                                                                                                                                  
/usr/local/google/home/barni/workspace/src/github.com/apache/airflow-on-k8s-operator/test/e2e/base/base_test.go:70                                                                                                                            
  creating a AirflowBase with mysql                                                                                                                                                                                                           
  /usr/local/google/home/barni/workspace/src/github.com/apache/airflow-on-k8s-operator/test/e2e/base/base_test.go:76                                                                                                                          
------------------------------                                                                                                                                                                                                                
• [SLOW TEST:35.350 seconds]                                                                                                                                                                                                                  
AirflowBase controller tests                                                                                                                                                                                                                  
/usr/local/google/home/barni/workspace/src/github.com/apache/airflow-on-k8s-operator/test/e2e/base/base_test.go:70                                                                                                                            
  creating a AirflowBase with postgres                                                                                                                                                                                                        
  /usr/local/google/home/barni/workspace/src/github.com/apache/airflow-on-k8s-operator/test/e2e/base/base_test.go:88                                                                                                                          
------------------------------                                                                                                                                                                                                                

Ran 2 of 2 Specs in 221.622 seconds                                                                                                                                                                                                           
SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 0 Skipped                                                                                                                                                                                       
--- PASS: Test (221.62s)                                                                                                                                                                                                                      
PASS                                                                                                                                                                                                                                          
ok      command-line-arguments  221.856s         

barni|endurance ~/workspace/src/github.com/apache/airflow-on-k8s-operator e2etests                                                                                                                                                            
→ make e2e-test                                                                                                                                                                                                                               
kubectl get namespace airflowop-system || kubectl create namespace airflowop-system                                                                                                                                                           
NAME               STATUS   AGE                                                                                                                                                                                                               
airflowop-system   Active   12h                                                                                                                                                                                                               
#go test -v -timeout 20m test/e2e/base/base_test.go --namespace airflowop-system                                                                                                                                                              
go test -v -timeout 20m test/e2e/cluster/cluster_test.go --namespace airflowop-system                                                                                                                                                         
=== RUN   Test                                                                                                                                                                                                                                
Running Suite: AirflowCluster Suite                                                                                                                                                                                                           
===================================                                                                                                                                                                                                           
Random Seed: 1579812001                                                                                                                                                                                                                       
Will run 7 of 7 specs                                                                                                                                                                                                                         

• [SLOW TEST:170.664 seconds]                                                                                                                                                                                                                 
AirflowCluster controller tests                                                                                                                                                                                                               
/usr/local/google/home/barni/workspace/src/github.com/apache/airflow-on-k8s-operator/test/e2e/cluster/cluster_test.go:102                                                                                                                     
  creating a AirflowCluster with postgres, celery executor                                                                                                                                                                                    
  /usr/local/google/home/barni/workspace/src/github.com/apache/airflow-on-k8s-operator/test/e2e/cluster/cluster_test.go:117                                                                                                                   
------------------------------                                                                                                                                                                                                                
• [SLOW TEST:15.256 seconds]                                                                                                                                                                                                                  
AirflowCluster controller tests                                                                                                                                                                                                               
/usr/local/google/home/barni/workspace/src/github.com/apache/airflow-on-k8s-operator/test/e2e/cluster/cluster_test.go:102                                                                                                                     
  scaling up workers for AirflowCluster with postgres, celery executor                                                                                                                                                                        
  /usr/local/google/home/barni/workspace/src/github.com/apache/airflow-on-k8s-operator/test/e2e/cluster/cluster_test.go:132
------------------------------                                                                                                                                                                                                                
• [SLOW TEST:25.243 seconds]                                                                                                                                                                                                                  
AirflowCluster controller tests                                                                                                                                                                                                               
/usr/local/google/home/barni/workspace/src/github.com/apache/airflow-on-k8s-operator/test/e2e/cluster/cluster_test.go:102                                                                                                                     
  creating a AirflowCluster with postgres, local executor                                                                                                                                                                                     
  /usr/local/google/home/barni/workspace/src/github.com/apache/airflow-on-k8s-operator/test/e2e/cluster/cluster_test.go:141                                                                                                                   
------------------------------                                                                                                                                                                                                                
• [SLOW TEST:30.451 seconds]                                                                                                                                                                                                                  
AirflowCluster controller tests                                                                                                                                                                                                               
/usr/local/google/home/barni/workspace/src/github.com/apache/airflow-on-k8s-operator/test/e2e/cluster/cluster_test.go:102                                                                                                                     
  creating a AirflowCluster with postgres, k8s executor                                                                                                                                                                                       
  /usr/local/google/home/barni/workspace/src/github.com/apache/airflow-on-k8s-operator/test/e2e/cluster/cluster_test.go:149                                                                                                                   
------------------------------                                                                                                                                                                                                                
• [SLOW TEST:155.579 seconds]                                                                                                                                                                                                                 
AirflowCluster controller tests                                                                                                                                                                                                               
/usr/local/google/home/barni/workspace/src/github.com/apache/airflow-on-k8s-operator/test/e2e/cluster/cluster_test.go:102                                                                                                                     
  creating a AirflowCluster with mysql, celery executor                                                                                                                                                                                       
  /usr/local/google/home/barni/workspace/src/github.com/apache/airflow-on-k8s-operator/test/e2e/cluster/cluster_test.go:159                                                                                                                   
------------------------------                                                                                                                                                                                                                
• [SLOW TEST:35.263 seconds]                                                                                                                                                                                                                  
AirflowCluster controller tests                                                                                                                                                                                                               
/usr/local/google/home/barni/workspace/src/github.com/apache/airflow-on-k8s-operator/test/e2e/cluster/cluster_test.go:102                                                                                                                     
  creating a AirflowCluster with mysql, local executor                                                                                                                                                                                        
  /usr/local/google/home/barni/workspace/src/github.com/apache/airflow-on-k8s-operator/test/e2e/cluster/cluster_test.go:173                                                                                                                   
------------------------------                                                                                                                                                                                                                
• [SLOW TEST:41.584 seconds]                                                                                                                                                                                                                  
AirflowCluster controller tests                                                                                                                                                                                                               
/usr/local/google/home/barni/workspace/src/github.com/apache/airflow-on-k8s-operator/test/e2e/cluster/cluster_test.go:102                                                                                                                     
  creating a AirflowCluster with mysql, k8s executor                                                                                                                                                                                          
  /usr/local/google/home/barni/workspace/src/github.com/apache/airflow-on-k8s-operator/test/e2e/cluster/cluster_test.go:181                                                                                                                   
------------------------------                                                                                                                                                                                                                

Ran 7 of 7 Specs in 474.856 seconds                                                                                                                                                                                                           
SUCCESS! -- 7 Passed | 0 Failed | 0 Pending | 0 Skipped                                                                                                                                                                                       
--- PASS: Test (474.86s)                                                                                                                                                                                                                      
PASS                                                                                                                                                                                                                                          
ok      command-line-arguments  475.089s