Skip to content

Commit

Permalink
fix source pkg import order
Browse files Browse the repository at this point in the history
Signed-off-by: jyu6 <[email protected]>
  • Loading branch information
jyu6 committed Aug 30, 2023
1 parent cca22a1 commit 212aca9
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions pkg/sources/forward/data_forward_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ import (

"go.uber.org/goleak"

"github.com/prometheus/client_golang/prometheus/testutil"
"github.com/stretchr/testify/assert"

dfv1 "github.com/numaproj/numaflow/pkg/apis/numaflow/v1alpha1"
"github.com/numaproj/numaflow/pkg/forward"
"github.com/numaproj/numaflow/pkg/isb"
Expand All @@ -36,9 +39,6 @@ import (
"github.com/numaproj/numaflow/pkg/watermark/generic"
wmstore "github.com/numaproj/numaflow/pkg/watermark/store"
"github.com/numaproj/numaflow/pkg/watermark/wmb"

"github.com/prometheus/client_golang/prometheus/testutil"
"github.com/stretchr/testify/assert"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions pkg/sources/forward/shutdown_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ import (
"testing"
"time"

"github.com/stretchr/testify/assert"

dfv1 "github.com/numaproj/numaflow/pkg/apis/numaflow/v1alpha1"
"github.com/numaproj/numaflow/pkg/forward"
"github.com/numaproj/numaflow/pkg/isb"
"github.com/numaproj/numaflow/pkg/isb/stores/simplebuffer"
"github.com/numaproj/numaflow/pkg/isb/testutils"
"github.com/numaproj/numaflow/pkg/watermark/generic"

"github.com/stretchr/testify/assert"
)

type myShutdownTest struct {
Expand Down
5 changes: 2 additions & 3 deletions pkg/sources/generator/tickgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@ import (

"go.uber.org/zap"

sourceforward "github.com/numaproj/numaflow/pkg/sources/forward"
applier2 "github.com/numaproj/numaflow/pkg/sources/forward/applier"

dfv1 "github.com/numaproj/numaflow/pkg/apis/numaflow/v1alpha1"
"github.com/numaproj/numaflow/pkg/forward"
"github.com/numaproj/numaflow/pkg/isb"
"github.com/numaproj/numaflow/pkg/metrics"
"github.com/numaproj/numaflow/pkg/shared/logging"
sourceforward "github.com/numaproj/numaflow/pkg/sources/forward"
applier2 "github.com/numaproj/numaflow/pkg/sources/forward/applier"
"github.com/numaproj/numaflow/pkg/watermark/fetch"
"github.com/numaproj/numaflow/pkg/watermark/processor"
"github.com/numaproj/numaflow/pkg/watermark/publish"
Expand Down
6 changes: 3 additions & 3 deletions pkg/sources/generator/tickgen_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ import (
"testing"
"time"

"github.com/stretchr/testify/assert"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"

dfv1 "github.com/numaproj/numaflow/pkg/apis/numaflow/v1alpha1"
"github.com/numaproj/numaflow/pkg/forward"
"github.com/numaproj/numaflow/pkg/isb"
"github.com/numaproj/numaflow/pkg/isb/stores/simplebuffer"
"github.com/numaproj/numaflow/pkg/sources/forward/applier"
"github.com/numaproj/numaflow/pkg/watermark/generic"
"github.com/numaproj/numaflow/pkg/watermark/store"

"github.com/stretchr/testify/assert"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

type myForwardToAllTest struct {
Expand Down
1 change: 1 addition & 0 deletions pkg/sources/kafka/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"go.uber.org/zap"

"github.com/IBM/sarama"

"github.com/numaproj/numaflow/pkg/shared/logging"
)

Expand Down

0 comments on commit 212aca9

Please sign in to comment.