@@ -50,7 +50,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
5050 defer cancel ()
5151 daemonName := testutil .MustRandString (t , 63 )
5252 srv , err := templateAdminClient .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
53- ID : uuid .New (),
5453 Name : daemonName ,
5554 Organization : user .OrganizationID ,
5655 Provisioners : []codersdk.ProvisionerType {
@@ -180,7 +179,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
180179 defer cancel ()
181180 daemonName := testutil .MustRandString (t , 63 )
182181 _ , err := templateAdminClient .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
183- ID : uuid .New (),
184182 Name : daemonName ,
185183 Organization : user .OrganizationID ,
186184 Provisioners : []codersdk.ProvisionerType {
@@ -205,7 +203,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
205203 ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
206204 defer cancel ()
207205 _ , err := another .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
208- ID : uuid .New (),
209206 Name : testutil .MustRandString (t , 63 ),
210207 Organization : user .OrganizationID ,
211208 Provisioners : []codersdk.ProvisionerType {
@@ -229,7 +226,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
229226 ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
230227 defer cancel ()
231228 _ , err := another .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
232- ID : uuid .New (),
233229 Name : testutil .MustRandString (t , 63 ),
234230 Organization : user .OrganizationID ,
235231 Provisioners : []codersdk.ProvisionerType {
@@ -360,7 +356,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
360356 ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
361357 defer cancel ()
362358 req := codersdk.ServeProvisionerDaemonRequest {
363- ID : uuid .New (),
364359 Name : testutil .MustRandString (t , 63 ),
365360 Organization : user .OrganizationID ,
366361 Provisioners : []codersdk.ProvisionerType {
@@ -425,7 +420,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
425420 another := codersdk .New (client .URL )
426421 pd := provisionerd .New (func (ctx context.Context ) (proto.DRPCProvisionerDaemonClient , error ) {
427422 return another .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
428- ID : uuid .New (),
429423 Name : testutil .MustRandString (t , 63 ),
430424 Organization : user .OrganizationID ,
431425 Provisioners : []codersdk.ProvisionerType {
@@ -503,7 +497,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
503497 ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
504498 defer cancel ()
505499 _ , err := another .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
506- ID : uuid .New (),
507500 Name : testutil .MustRandString (t , 32 ),
508501 Organization : user .OrganizationID ,
509502 Provisioners : []codersdk.ProvisionerType {
@@ -538,7 +531,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
538531 defer cancel ()
539532 another := codersdk .New (client .URL )
540533 _ , err := another .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
541- ID : uuid .New (),
542534 Name : testutil .MustRandString (t , 63 ),
543535 Organization : user .OrganizationID ,
544536 Provisioners : []codersdk.ProvisionerType {
@@ -571,7 +563,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
571563 defer cancel ()
572564 another := codersdk .New (client .URL )
573565 _ , err := another .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
574- ID : uuid .New (),
575566 Name : testutil .MustRandString (t , 63 ),
576567 Organization : user .OrganizationID ,
577568 Provisioners : []codersdk.ProvisionerType {
@@ -698,7 +689,6 @@ func TestProvisionerDaemonServe(t *testing.T) {
698689
699690 another := codersdk .New (client .URL )
700691 srv , err := another .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
701- ID : uuid .New (),
702692 Name : testutil .MustRandString (t , 63 ),
703693 Organization : user .OrganizationID ,
704694 Provisioners : []codersdk.ProvisionerType {
@@ -758,7 +748,6 @@ func TestGetProvisionerDaemons(t *testing.T) {
758748 defer cancel ()
759749 daemonName := testutil .MustRandString (t , 63 )
760750 srv , err := orgAdmin .ServeProvisionerDaemon (ctx , codersdk.ServeProvisionerDaemonRequest {
761- ID : uuid .New (),
762751 Name : daemonName ,
763752 Organization : org .ID ,
764753 Provisioners : []codersdk.ProvisionerType {
0 commit comments