Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(coderd/idpsync): run all tests with postgres#18149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
hugodutka merged 1 commit intomainfromhugodutka/dbmem-coderd/idpsync
Jun 2, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletionscoderd/idpsync/group_test.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -69,11 +69,6 @@ func TestParseGroupClaims(t *testing.T) {
func TestGroupSyncTable(t *testing.T) {
t.Parallel()

// Last checked, takes 30s with postgres on a fast machine.
if dbtestutil.WillUsePostgres() {
t.Skip("Skipping test because it populates a lot of db entries, which is slow on postgres.")
}

userClaims := jwt.MapClaims{
"groups": []string{
"foo", "bar", "baz",
Expand DownExpand Up@@ -379,10 +374,6 @@ func TestGroupSyncTable(t *testing.T) {
func TestSyncDisabled(t *testing.T) {
t.Parallel()

if dbtestutil.WillUsePostgres() {
t.Skip("Skipping test because it populates a lot of db entries, which is slow on postgres.")
}

db, _ := dbtestutil.NewDB(t)
manager := runtimeconfig.NewManager()
s := idpsync.NewAGPLSync(slogtest.Make(t, &slogtest.Options{}),
Expand Down
4 changes: 0 additions & 4 deletionscoderd/idpsync/role_test.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,10 +27,6 @@ import (
func TestRoleSyncTable(t *testing.T) {
t.Parallel()

if dbtestutil.WillUsePostgres() {
t.Skip("Skipping test because it populates a lot of db entries, which is slow on postgres.")
}

userClaims := jwt.MapClaims{
"roles": []string{
"foo", "bar", "baz",
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp