Skip to content

Commit f1d7643

Browse files
committed
Warnings
1 parent cec2e6d commit f1d7643

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

site/src/testHelpers/entities.ts

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2404,6 +2404,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
24042404
node_reports: [
24052405
{
24062406
healthy: true,
2407+
warnings: [],
24072408
node: {
24082409
Name: "999stun0",
24092410
RegionID: 999,
@@ -2428,6 +2429,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
24282429
},
24292430
{
24302431
healthy: true,
2432+
warnings: [],
24312433
node: {
24322434
Name: "999b",
24332435
RegionID: 999,
@@ -2461,6 +2463,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
24612463
},
24622464
"10007": {
24632465
healthy: true,
2466+
warnings: [],
24642467
region: {
24652468
EmbeddedRelay: false,
24662469
RegionID: 10007,
@@ -2486,6 +2489,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
24862489
node_reports: [
24872490
{
24882491
healthy: true,
2492+
warnings: [],
24892493
node: {
24902494
Name: "10007stun0",
24912495
RegionID: 10007,
@@ -2510,6 +2514,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
25102514
},
25112515
{
25122516
healthy: true,
2517+
warnings: [],
25132518
node: {
25142519
Name: "10007a",
25152520
RegionID: 10007,
@@ -2568,6 +2573,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
25682573
node_reports: [
25692574
{
25702575
healthy: true,
2576+
warnings: [],
25712577
node: {
25722578
Name: "10008stun0",
25732579
RegionID: 10008,
@@ -2592,6 +2598,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
25922598
},
25932599
{
25942600
healthy: true,
2601+
warnings: [],
25952602
node: {
25962603
Name: "10008a",
25972604
RegionID: 10008,
@@ -2625,6 +2632,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
26252632
},
26262633
"10009": {
26272634
healthy: true,
2635+
warnings: [],
26282636
region: {
26292637
EmbeddedRelay: false,
26302638
RegionID: 10009,
@@ -2650,6 +2658,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
26502658
node_reports: [
26512659
{
26522660
healthy: true,
2661+
warnings: [],
26532662
node: {
26542663
Name: "10009stun0",
26552664
RegionID: 10009,
@@ -2674,6 +2683,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
26742683
},
26752684
{
26762685
healthy: true,
2686+
warnings: [],
26772687
node: {
26782688
Name: "10009a",
26792689
RegionID: 10009,
@@ -2751,19 +2761,22 @@ export const MockHealth: TypesGen.HealthcheckReport = {
27512761
],
27522762
},
27532763
access_url: {
2754-
access_url: "https://dev.coder.com",
27552764
healthy: true,
2765+
warnings: [],
2766+
access_url: "https://dev.coder.com",
27562767
reachable: true,
27572768
status_code: 200,
27582769
healthz_response: "OK",
27592770
},
27602771
websocket: {
27612772
healthy: true,
2773+
warnings: [],
27622774
body: "",
27632775
code: 101,
27642776
},
27652777
database: {
27662778
healthy: true,
2779+
warnings: [],
27672780
reachable: true,
27682781
latency: "92570",
27692782
latency_ms: 92570,
@@ -2788,25 +2801,29 @@ export const DeploymentHealthUnhealthy: TypesGen.HealthcheckReport = {
27882801
coder_version: "v2.3.0-devel+8cca4915a",
27892802
access_url: {
27902803
healthy: true,
2804+
warnings: [],
27912805
access_url: "",
27922806
healthz_response: "",
27932807
reachable: true,
27942808
status_code: 0,
27952809
},
27962810
database: {
27972811
healthy: false,
2812+
warnings: [],
27982813
latency: "",
27992814
latency_ms: 0,
28002815
reachable: true,
28012816
threshold_ms: 92570,
28022817
},
28032818
derp: {
28042819
healthy: false,
2820+
warnings: [],
28052821
regions: [],
28062822
netcheck_logs: [],
28072823
},
28082824
websocket: {
28092825
healthy: false,
2826+
warnings: [],
28102827
body: "",
28112828
code: 0,
28122829
},

0 commit comments

Comments
 (0)