@@ -50,7 +50,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
50
50
defer cancel ()
51
51
daemonName := testutil .MustRandString (t , 63 )
52
52
srv , err := templateAdminClient .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
53
- ID : uuid .New (),
54
53
Name : daemonName ,
55
54
Organization : user .OrganizationID ,
56
55
Provisioners : []codersdk.ProvisionerType {
@@ -180,7 +179,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
180
179
defer cancel ()
181
180
daemonName := testutil .MustRandString (t , 63 )
182
181
_ , err := templateAdminClient .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
183
- ID : uuid .New (),
184
182
Name : daemonName ,
185
183
Organization : user .OrganizationID ,
186
184
Provisioners : []codersdk.ProvisionerType {
@@ -205,7 +203,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
205
203
ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
206
204
defer cancel ()
207
205
_ , err := another .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
208
- ID : uuid .New (),
209
206
Name : testutil .MustRandString (t , 63 ),
210
207
Organization : user .OrganizationID ,
211
208
Provisioners : []codersdk.ProvisionerType {
@@ -229,7 +226,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
229
226
ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
230
227
defer cancel ()
231
228
_ , err := another .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
232
- ID : uuid .New (),
233
229
Name : testutil .MustRandString (t , 63 ),
234
230
Organization : user .OrganizationID ,
235
231
Provisioners : []codersdk.ProvisionerType {
@@ -360,7 +356,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
360
356
ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
361
357
defer cancel ()
362
358
req := codersdk.ServeProvisionerDaemonRequest {
363
- ID : uuid .New (),
364
359
Name : testutil .MustRandString (t , 63 ),
365
360
Organization : user .OrganizationID ,
366
361
Provisioners : []codersdk.ProvisionerType {
@@ -425,7 +420,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
425
420
another := codersdk .New (client .URL )
426
421
pd := provisionerd .New (func (ctx context.Context ) (proto.DRPCProvisionerDaemonClient , error ) {
427
422
return another .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
428
- ID : uuid .New (),
429
423
Name : testutil .MustRandString (t , 63 ),
430
424
Organization : user .OrganizationID ,
431
425
Provisioners : []codersdk.ProvisionerType {
@@ -503,7 +497,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
503
497
ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
504
498
defer cancel ()
505
499
_ , err := another .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
506
- ID : uuid .New (),
507
500
Name : testutil .MustRandString (t , 32 ),
508
501
Organization : user .OrganizationID ,
509
502
Provisioners : []codersdk.ProvisionerType {
@@ -538,7 +531,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
538
531
defer cancel ()
539
532
another := codersdk .New (client .URL )
540
533
_ , err := another .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
541
- ID : uuid .New (),
542
534
Name : testutil .MustRandString (t , 63 ),
543
535
Organization : user .OrganizationID ,
544
536
Provisioners : []codersdk.ProvisionerType {
@@ -571,7 +563,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
571
563
defer cancel ()
572
564
another := codersdk .New (client .URL )
573
565
_ , err := another .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
574
- ID : uuid .New (),
575
566
Name : testutil .MustRandString (t , 63 ),
576
567
Organization : user .OrganizationID ,
577
568
Provisioners : []codersdk.ProvisionerType {
@@ -698,7 +689,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
698
689
699
690
another := codersdk .New (client .URL )
700
691
srv , err := another .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
701
- ID : uuid .New (),
702
692
Name : testutil .MustRandString (t , 63 ),
703
693
Organization : user .OrganizationID ,
704
694
Provisioners : []codersdk.ProvisionerType {
@@ -758,7 +748,6 @@ func TestGetProvisionerDaemons(t *testing.T) {
758
748
defer cancel ()
759
749
daemonName := testutil .MustRandString (t , 63 )
760
750
srv , err := orgAdmin .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
761
- ID : uuid .New (),
762
751
Name : daemonName ,
763
752
Organization : org .ID ,
764
753
Provisioners : []codersdk.ProvisionerType {
0 commit comments