<commit_before>package main_test

import (
	"fmt"
	"os/exec"
	"time"

	. "github.com/onsi/ginkgo"
	. "github.com/onsi/gomega"
	"github.com/onsi/gomega/gbytes"
	"github.com/onsi/gomega/gexec"
)

var _ = Describe("Main", func() {

	It("Starts correctly and exits 1 on SIGTERM", func() {
		command := exec.Command(routeRegistrarBinPath, fmt.Sprintf("-pidfile=%s", pidFile))
		session, err := gexec.Start(command, GinkgoWriter, GinkgoWriter)
		Ω(err).ShouldNot(HaveOccurred())

		Eventually(session.Out).Should(gbytes.Say("Route Registrar"))

		time.Sleep(100 * time.Millisecond)

		session.Terminate().Wait()
		Eventually(session).Should(gexec.Exit(1))
	})
})
<commit_msg>Increase main_test timeout.<commit_after>package main_test

import (
	"fmt"
	"os/exec"
	"time"

	. "github.com/onsi/ginkgo"
	. "github.com/onsi/gomega"
	"github.com/onsi/gomega/gbytes"
	"github.com/onsi/gomega/gexec"
)

var _ = Describe("Main", func() {

	It("Starts correctly and exits 1 on SIGTERM", func() {
		command := exec.Command(routeRegistrarBinPath, fmt.Sprintf("-pidfile=%s", pidFile))
		session, err := gexec.Start(command, GinkgoWriter, GinkgoWriter)
		Ω(err).ShouldNot(HaveOccurred())

		Eventually(session.Out).Should(gbytes.Say("Route Registrar"))

		time.Sleep(1 * time.Second)

		session.Terminate().Wait()
		Eventually(session).Should(gexec.Exit(1))
	})
})

{'fraction_non_alphanumeric': 0.17174721189591077, 'fraction_numerical': 0.005947955390334572, 'mean_word_length': 4.95575221238938, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2166239', 'n_tokens_mistral': 550, 'n_tokens_neox': 514, 'n_words': 76}