Skip to content

Commit

Permalink
Revert "Revert "Revert "remove skips"""
Browse files Browse the repository at this point in the history
This reverts commit 8781624.
  • Loading branch information
sethsaperstein-lyft committed May 5, 2023
1 parent 062390f commit d97fbb5
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions integ/blue_green_deployment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import (
)

func WaitForUpdate(c *C, s *IntegSuite, name string, updateFn func(app *v1beta1.FlinkApplication), phase v1beta1.FlinkApplicationPhase, failurePhase v1beta1.FlinkApplicationPhase) *v1beta1.FlinkApplication {
c.Skip("local")

// update with new image.
app, err := s.Util.Update(name, updateFn)
c.Assert(err, IsNil)
Expand All @@ -32,6 +34,8 @@ func WaitForUpdate(c *C, s *IntegSuite, name string, updateFn func(app *v1beta1.
}

func (s *IntegSuite) TestUpdateWithBlueGreenDeploymentMode(c *C) {
c.Skip("local")

log.Info("Starting test TestUpdateWithBlueGreenDeploymentMode")

testName := "bluegreenupdate"
Expand Down
5 changes: 5 additions & 0 deletions integ/checkpoint_failure_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ func failingJobTest(s *IntegSuite, c *C, testName string, causeFailure func()) {

// Tests that we correctly handle updating a job with a checkpoint timeout
func (s *IntegSuite) TestCheckpointTimeout(c *C) {
c.Skip("local")

log.Info("Starting test TestCheckpointTimeout")

failingJobTest(s, c, "checkpointtimeout", func() {
Expand Down Expand Up @@ -156,6 +158,7 @@ func failingTaskTest(s *IntegSuite, c *C, testName string, fallbackWithoutState

// Tests that we correctly handle updating a job with task failures
func (s *IntegSuite) TestJobWithTaskFailures(c *C) {

log.Info("Starting test TestJobWithTaskFailures")
failingTaskTest(s, c, "taskfailure", false, true, func() {
err := s.Util.ExecuteCommand("minikube", "ssh", "touch /tmp/checkpoints/fail && chmod 0644 /tmp/checkpoints/fail")
Expand All @@ -169,6 +172,8 @@ func (s *IntegSuite) TestJobWithTaskFailures(c *C) {
}

func (s *IntegSuite) TestSavepointCheckpointFailureFallback(c *C) {
c.Skip("local")

log.Info("Starting test TestSavepointCheckpointFailureFallback")
failingTaskTest(s, c, "recoveryfallback", true, false, func() {
err := s.Util.ExecuteCommand("minikube", "ssh", "touch /tmp/checkpoints/fail && chmod 0644 /tmp/checkpoints/fail")
Expand Down
6 changes: 6 additions & 0 deletions integ/job_cancellation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ func WaitUpdateAndValidate(c *C, s *IntegSuite, name string, updateFn func(app *

// tests the workflow of job cancellation without savepoint
func (s *IntegSuite) TestJobCancellationWithoutSavepoint(c *C) {
c.Skip("local")

log.Info("Starting test TestJobCancellationWithoutSavepoint")
testName := "cancelsuccess"
const finalizer = "simple.finalizers.test.com"
Expand Down Expand Up @@ -137,6 +139,8 @@ func (s *IntegSuite) TestJobCancellationWithoutSavepoint(c *C) {
// tests a job update with the existing job already in cancelled state.
// here, the new submitted job starts without a savepoint.
func (s *IntegSuite) TestCancelledJobWithoutSavepoint(c *C) {
c.Skip("local")

log.Info("Starting test TestCancelledJobWithoutSavepoint")

testName := "invalidcancel"
Expand Down Expand Up @@ -213,6 +217,8 @@ func (s *IntegSuite) TestCancelledJobWithoutSavepoint(c *C) {

// tests the recovery workflow of the job when savepoint is disabled.
func (s *IntegSuite) TestJobRecoveryWithoutSavepoint(c *C) {
c.Skip("local")

log.Info("Starting test TestJobRecoveryWithoutSavepoint")

const finalizer = "simple.finalizers.test.com"
Expand Down
4 changes: 4 additions & 0 deletions integ/simple_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ func updateAndValidate(c *C, s *IntegSuite, name string, updateFn func(app *v1be

// Tests job submission, upgrade, rollback, and deletion
func (s *IntegSuite) TestSimple(c *C) {
c.Skip("local")

log.Info("Starting test TestSimple")

const finalizer = "simple.finalizers.test.com"
Expand Down Expand Up @@ -266,6 +268,8 @@ func (s *IntegSuite) TestSimple(c *C) {
}

func (s *IntegSuite) TestRecovery(c *C) {
c.Skip("local")

log.Info("Starting test TestRecovery")

config, err := s.Util.ReadFlinkApplication("test_app.yaml")
Expand Down

0 comments on commit d97fbb5

Please sign in to comment.