github.com/voedger/voedger@v0.0.0-20240520144910-273e84102129/pkg/istorage/amazondb/impl_test.go (about)

     1  /*
     2   * Copyright (c) 2024-present unTill Pro, Ltd.
     3   * @author Alisher Nurmanov
     4   */
     5  
     6  package amazondb
     7  
     8  import (
     9  	"testing"
    10  
    11  	"github.com/voedger/voedger/pkg/istorage"
    12  	coreutils "github.com/voedger/voedger/pkg/utils"
    13  )
    14  
    15  func TestBasicUsage(t *testing.T) {
    16  	if !coreutils.IsDynamoDBStorage() {
    17  		t.Skip()
    18  	}
    19  	params := DynamoDBParams{
    20  		EndpointURL:     "http://127.0.0.1:8000",
    21  		Region:          "eu-west-1",
    22  		AccessKeyID:     "local",
    23  		SecretAccessKey: "local",
    24  		SessionToken:    "",
    25  	}
    26  	asf := Provide(params)
    27  	istorage.TechnologyCompatibilityKit(t, asf)
    28  }