Skip to content

Commit

Permalink
shorten checks
Browse files Browse the repository at this point in the history
  • Loading branch information
endorama committed Jan 24, 2025
1 parent b6b50cb commit ec76462
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions functionaltests/8_15_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,11 @@ func TestUpgrade_8_15_4_to_8_16_0(t *testing.T) {
})

var escfg esclient.Config
err = tf.Output("apm_url", &escfg.APMServerURL)
require.NoError(t, err)
err = tf.Output("es_url", &escfg.ElasticsearchURL)
require.NoError(t, err)
err = tf.Output("username", &escfg.Username)
require.NoError(t, err)
err = tf.Output("password", &escfg.Password)
require.NoError(t, err)
err = tf.Output("kb_url", &escfg.KibanaURL)
require.NoError(t, err)
require.NoError(t, tf.Output("apm_url", &escfg.APMServerURL))
require.NoError(t, tf.Output("es_url", &escfg.ElasticsearchURL))
require.NoError(t, tf.Output("username", &escfg.Username))
require.NoError(t, tf.Output("password", &escfg.Password))
require.NoError(t, tf.Output("kb_url", &escfg.KibanaURL))

t.Logf("created deployment %s", escfg.KibanaURL)

Expand Down

0 comments on commit ec76462

Please sign in to comment.