mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 07:47:32 +00:00
fix: always update the timestamp in trigger (#6326)
* always reset timestamp * re-enable test
This commit is contained in:
@@ -5,11 +5,20 @@ package management_test
|
||||
import (
|
||||
"context"
|
||||
"os"
|
||||
"strconv"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"golang.org/x/text/language"
|
||||
"google.golang.org/grpc/codes"
|
||||
"google.golang.org/grpc/status"
|
||||
|
||||
"github.com/zitadel/zitadel/internal/integration"
|
||||
"github.com/zitadel/zitadel/pkg/grpc/management"
|
||||
"github.com/zitadel/zitadel/pkg/grpc/user"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -38,8 +47,6 @@ func TestMain(m *testing.M) {
|
||||
// This test Imports a user and directly tries to Get it, 100 times in a loop.
|
||||
// When the bug still existed, some (between 1 to 7 out of 100)
|
||||
// Get calls would return a Not Found error.
|
||||
|
||||
/* Test disabled because it breaks the pipeline.
|
||||
func TestImport_and_Get(t *testing.T) {
|
||||
const N = 100
|
||||
var misses int
|
||||
@@ -84,4 +91,3 @@ func TestImport_and_Get(t *testing.T) {
|
||||
}
|
||||
assert.Zerof(t, misses, "Not Found errors %d out of %d", misses, N)
|
||||
}
|
||||
*/
|
||||
|
Reference in New Issue
Block a user