Skip to content

Commit

Permalink
skip more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rusq committed Jul 14, 2024
1 parent c73671a commit 778494f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/slackdump/internal/export/v3_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import (
"github.com/rusq/slackdump/v3"
"github.com/rusq/slackdump/v3/internal/chunk"
"github.com/rusq/slackdump/v3/internal/chunk/chunktest"
"github.com/rusq/slackdump/v3/internal/fixtures"
"github.com/rusq/slackdump/v3/internal/network"
"github.com/rusq/slackdump/v3/internal/structures"
"github.com/rusq/slackdump/v3/logger"
Expand All @@ -30,6 +31,7 @@ const (
)

func Test_exportV3(t *testing.T) {
fixtures.SkipInCI(t)
// // TODO: this is manual
// t.Run("large file", func(t *testing.T) {
// srv := chunktest.NewDirServer(chunkDir)
Expand Down
2 changes: 2 additions & 0 deletions internal/chunk/transform/export_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ import (

"github.com/rusq/fsadapter"
"github.com/rusq/slackdump/v3/internal/chunk"
"github.com/rusq/slackdump/v3/internal/fixtures"
)

func Test_transform(t *testing.T) {
fixtures.SkipInCI(t)
// TODO: automate.
// MANUAL
const (
Expand Down
3 changes: 3 additions & 0 deletions internal/chunk/transform/standard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ import (

"github.com/rusq/fsadapter"
"github.com/rusq/slackdump/v3/internal/chunk"
"github.com/rusq/slackdump/v3/internal/fixtures"
"github.com/rusq/slackdump/v3/internal/nametmpl"
)

func Test_stdConvert(t *testing.T) {
fixtures.SkipInCI(t)

var testNames = []chunk.FileID{
"CHYLGDP0D-1682335799.257359",
"CHYLGDP0D-1682375167.836499",
Expand Down
3 changes: 3 additions & 0 deletions internal/convert/chunkexp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"github.com/rusq/fsadapter"
"github.com/rusq/slack"
"github.com/rusq/slackdump/v3/internal/chunk"
"github.com/rusq/slackdump/v3/internal/fixtures"
"github.com/rusq/slackdump/v3/logger"
)

Expand All @@ -21,6 +22,7 @@ const (
var testLogger = dlog.New(os.Stderr, "unit ", log.Lshortfile|log.LstdFlags, true)

func TestChunkToExport_Validate(t *testing.T) {
fixtures.SkipInCI(t)
srcDir, err := chunk.OpenDir(testSrcDir)
if err != nil {
t.Fatal(err)
Expand Down Expand Up @@ -95,6 +97,7 @@ func TestChunkToExport_Validate(t *testing.T) {
}

func TestChunkToExport_Convert(t *testing.T) {
fixtures.SkipInCI(t)
cd, err := chunk.OpenDir(testSrcDir)
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 778494f

Please sign in to comment.