=== RUN   TestAssignRoleToUser_Atomicity
2025/12/07 11:26:50 github.com/testcontainers/testcontainers-go - Connected to docker: 
  Server Version: 28.1.1
  API Version: 1.46
  Operating System: Fedora Linux 40 (Workstation Edition)
  Total Memory: 15703 MB
  Testcontainers for Go Version: v0.33.0
  Resolved Docker Host: unix:///var/run/docker.sock
  Resolved Docker Socket Path: /var/run/docker.sock
  Test SessionID: 701c380b086e3b30622aa518f5ceef599b4fc5a3f67810394a7ecb28a89feb37
  Test ProcessID: a68f6429-75fc-411e-854b-1a6274d25353
2025/12/07 11:26:50 🐳 Creating container for image testcontainers/ryuk:0.8.1
2025/12/07 11:26:50 ✅ Container created: 24600ac325de
2025/12/07 11:26:50 🐳 Starting container: 24600ac325de
2025/12/07 11:26:51 ✅ Container started: 24600ac325de
2025/12/07 11:26:51 ⏳ Waiting for container id 24600ac325de image: testcontainers/ryuk:0.8.1. Waiting for: &{Port:8080/tcp timeout:<nil> PollInterval:100ms skipInternalCheck:false}
2025/12/07 11:26:51 🔔 Container is ready: 24600ac325de
2025/12/07 11:26:51 🐳 Creating container for image postgres:15-alpine
2025/12/07 11:26:56 ✅ Container created: e56d460c8df9
2025/12/07 11:27:47 🐳 Starting container: e56d460c8df9
2025/12/07 11:27:47 ✅ Container started: e56d460c8df9
2025/12/07 11:27:47 ⏳ Waiting for container id e56d460c8df9 image: postgres:15-alpine. Waiting for: &{timeout:<nil> deadline:0xc000132118 Strategies:[0xc0001a96e0]}
2025/12/07 11:27:50 🔔 Container is ready: e56d460c8df9

2025/12/07 11:27:51 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:195 [35;1mrecord not found
[0m[33m[1.618ms] [34;1m[rows:0][0m SELECT * FROM "user_roles" WHERE user_id = '999ef685-8c51-4bf8-80e6-3af79b3679e8' AND role_id = 'dd5df099-a65e-4aac-930f-dd58e6f62d38' ORDER BY "user_roles"."id" LIMIT 1 FOR UPDATE
    logger.go:146: 2025-12-07T11:27:51.349+0100	INFO	Role assigned to user successfully	{"user_id": "999ef685-8c51-4bf8-80e6-3af79b3679e8", "role_id": "dd5df099-a65e-4aac-930f-dd58e6f62d38"}

2025/12/07 11:27:51 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:184 [35;1mrecord not found
[0m[33m[0.726ms] [34;1m[rows:0][0m SELECT * FROM "roles" WHERE "roles"."id" = 'dd5df099-a65e-4aac-930f-dd58e6f62d38' ORDER BY "roles"."id" LIMIT 1 FOR UPDATE
    rbac_transaction_test.go:253: 
        	Error Trace:	/home/senke/Documents/veza/veza-backend-api/tests/transactions/rbac_transaction_test.go:253
        	Error:      	Not equal: 
        	            	expected: 1
        	            	actual  : 0
        	Test:       	TestAssignRoleToUser_Atomicity
        	Messages:   	First assignment should still exist
--- FAIL: TestAssignRoleToUser_Atomicity (60.74s)
FAIL
FAIL	veza-backend-api/tests/transactions	60.869s
FAIL
