Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1852953 commit 42a1c69Copy full SHA for 42a1c69
coderd/provisionerdserver/provisionerdserver_test.go
@@ -1696,7 +1696,7 @@ func TestNotifications(t *testing.T) {
1696
}
1697
})
1698
1699
- t.Run("Workspace autobuild failed", func(t *testing.T) {
+ t.Run("Workspace build failed", func(t *testing.T) {
1700
t.Parallel()
1701
1702
tests := []struct {
@@ -1707,7 +1707,12 @@ func TestNotifications(t *testing.T) {
1707
shouldDeleteWorkspace bool
1708
}{
1709
{
1710
- name: "initiated by autostart but failed",
+ name: "initiated by owner",
1711
+ buildReason: database.BuildReasonInitiator,
1712
+ shouldNotify: false,
1713
+ },
1714
+ {
1715
+ name: "initiated by autostart",
1716
buildReason: database.BuildReasonAutostart,
1717
shouldNotify: true,
1718
},
0 commit comments