Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

539 B
Raw Blame
//go:build tarantool

package tarantool

import (
	"os"
	"testing"
	"time"

	"github.com/seaweedfs/seaweedfs/weed/filer/store_test"
)

func TestStore(t *testing.T) {
	// run "make test_tarantool" under docker folder.
	// to set up local env
	if os.Getenv("RUN_TARANTOOL_TESTS") != "1" {
		t.Skip("Tarantool tests are disabled. Set RUN_TARANTOOL_TESTS=1 to enable.")
	}
	store := &TarantoolStore{}
	addresses := []string{"127.0.1:3303"}
	store.initialize(addresses, "client", "client", 5*time.Second)
	store_test.TestFilerStore(t, store)
}