Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 343 for notifyCh (0.15 sec)

  1. pilot/pkg/serviceregistry/kube/controller/network_test.go

    		gwMu.Lock()
    		defer gwMu.Unlock()
    		return gws
    	}
    
    	c.AppendNetworkGatewayHandler(func() {
    		setGws(c.NetworkGateways())
    		notifyCh <- struct{}{}
    	})
    	expectGateways := func(t *testing.T, expectedGws int) {
    		// wait for a notification
    		assert.ChannelHasItem(t, notifyCh)
    		if n := len(getGws()); n != expectedGws {
    			t.Errorf("expected %d gateways but got %d", expectedGws, n)
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. .github/workflows/notify-translations.yml

    name: Notify Translations
    
    on:
      pull_request_target:
        types:
          - labeled
          - closed
      workflow_dispatch:
        inputs:
          number:
            description: PR number
            required: true
          debug_enabled:
            description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
            required: false
            default: 'false'
    
    jobs:
      notify-translations:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 07:19:41 UTC 2023
    - 1022 bytes
    - Viewed (0)
  3. .github/workflows/notify-on-rc-for-manual-test.yml

    name: IDE Experience team notifier
    run-name: Notify the IDE Experience team about new RCs for manual testing
    on:
      push:
        tags:
          - 'v*.*.*-RC1'
    
    permissions: {}
    
    jobs:
      send-slack-notification:
        runs-on: ubuntu-latest
        steps:
          - name: Send Slack notification about new RCs for manual testing
            id: slack
            uses: slackapi/slack-github-action@v1.23.0
            with:
              payload: |
                {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 1K bytes
    - Viewed (0)
  4. cmd/config-migrate.go

    		notify.SetNotifyMySQL(newCfg, k, args)
    	}
    	for k, args := range cfg.Notify.NATS {
    		notify.SetNotifyNATS(newCfg, k, args)
    	}
    	for k, args := range cfg.Notify.NSQ {
    		notify.SetNotifyNSQ(newCfg, k, args)
    	}
    	for k, args := range cfg.Notify.PostgreSQL {
    		notify.SetNotifyPostgres(newCfg, k, args)
    	}
    	for k, args := range cfg.Notify.Redis {
    		notify.SetNotifyRedis(newCfg, k, args)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. pkg/util/interrupt/interrupt.go

    // one critical section.
    func New(final func(os.Signal), notify ...func()) *Handler {
    	return &Handler{
    		final:  final,
    		notify: notify,
    	}
    }
    
    // Close executes all the notification handlers if they have not yet been executed.
    func (h *Handler) Close() {
    	h.once.Do(func() {
    		for _, fn := range h.notify {
    			fn()
    		}
    	})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 09:22:35 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

            private String notify_;
    
            @Override
            public void write(final int arg0) throws IOException {
            }
    
            @Override
            public void close() throws IOException {
                super.close();
                notify_ = "closed";
            }
    
            public String getNotify() {
                return notify_;
            }
        }
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/legacy/BuildScanEndOfBuildNotifierIntegrationTest.groovy

    1 actionable task: 1 executed.*
    failure message: broken
    .*""")
        }
    
        def "can only register one listener"() {
            when:
            buildFile << """
                notifier.notify { }
                notifier.notify { }
            """
    
            def failure = runAndFail()
    
            then:
            failure.assertHasCause("listener already set to")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/setgid_linux.go

    	}
    
    }
    
    func testSetgid(t *testing.T) {
    	if !runTestSetgid() {
    		t.Error("setgid hung")
    	}
    
    	// Now try it again after using signal.Notify.
    	signal.Notify(make(chan os.Signal, 1), syscall.SIGINT)
    	if !runTestSetgid() {
    		t.Error("setgid hung after signal.Notify")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 843 bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationNotificationsFixture.groovy

    import org.gradle.internal.operations.notify.BuildOperationFinishedNotification
    import org.gradle.internal.operations.notify.BuildOperationNotificationListener
    import org.gradle.internal.operations.notify.BuildOperationNotificationListenerRegistrar
    import org.gradle.internal.operations.notify.BuildOperationProgressNotification
    import org.gradle.internal.operations.notify.BuildOperationStartedNotification
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/configuration/project/LifecycleProjectEvaluatorIntegrationTest.groovy

            with(operations.only(NotifyProjectBeforeEvaluatedBuildOperationType, { it.details.projectPath == ':foo' })) {
                displayName == 'Notify beforeEvaluate listeners of :foo'
                children*.displayName == ["Execute Project.beforeEvaluate listener"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top